Commit Graph
3510 Commits
Author SHA1 Message Date
John Baldwin f3cac66b75 MFC: Use existing GDB routines for parsing the section table of klds in
the 'add-kld' command.
2009-01-21 15:25:00 +00:00
Ken Smith 367d427d45 Due to a mis-understanding on my part with Ruslan I haven't been updating
this like I should have been.  Mis-understanding is cleared up I think.

Change default operating system for upcoming release.  Add release names
not in contrib/groff/tmac/doc-common yet.

Submitted by: ru
2008-12-13 19:11:46 +00:00
John Baldwin f2b3b9b715 MFC: Enable use of 'tid' for remote targets and use gdb_thread_select()
for 'tid' and 'proc' so they provide UI feedback like the 'thread'
command.
2008-05-09 18:59:50 +00:00
John Baldwin 4b2debe46d MFC: Rework how kgdb manages kernel and vmcore files to be a bit more
gdb-ish.  Specifically, you can now use the 'file' and 'core' commands.
Also, the kernel module stuff now works for remote targets.
2008-05-09 18:47:10 +00:00
John Baldwin deb29163c0 MFC: Add 'fbsdcoreops_suppress_target' to support kgdb having its own
coredump target and adjust core dump target's long name and documentation.
2008-05-09 18:20:35 +00:00
John Baldwin 455860ac87 MFC: Remove the 'add_kld_command' arg from load_kld(). 2008-05-05 19:15:38 +00:00
Mark Linimon 04148d5d7a MFC of new 'arm' category. 2008-04-23 04:01:53 +00:00
David E. O'Brien 45ecca55c5 Move our ".mcount" bits around a little. 2008-04-18 16:06:46 +00:00
John Baldwin 3bfab7807a MFC: Add the 'tid' command to select a thread using a kernel thread ID. 2008-04-03 18:49:05 +00:00
John Baldwin c591ed081e MFC: Initialize list of kld's correctly when there are no kld's and catch
errors in kgdb_parse() so it returns 0 for invalid expressions.  This
fixes the kld loading for 6.x and 7.x.
2008-04-03 18:47:05 +00:00
John Baldwin eb9108b288 MFC: Mostly sync kgdb with HEAD including the following changes:
- Add a new 'add-kld <kld>' command to locate a kld and load its symbols.
- If the quiet flag is specified, don't dump the unread portion of the
  message buffer on startup.
- Remove the warnx() from kgdb_lookup() and add it in callers where a
  failed lookup is warning worthy.
- Add a shared library backend for kernel files that treats klds as shared
  libraries and auto-load symbols for klds on startup.
- Build a section table from the kernel file so that 'info files' output
  looks sane.
2008-02-25 22:20:13 +00:00
cvs2svn 37c881b7ef This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2008-01-29 23:44:35 +00:00
David E. O'Brien 2a7e3f91be MFC: product of patch(1) 2007-12-04 16:28:10 +00:00
David E. O'Brien cb40a04eea GC this patch. 2007-12-03 22:08:49 +00:00
David E. O'Brien 0d77feb962 MFC:
+ Turn on gdbserver for the arch that supports it.
+ Fix static/extern mismatch.
+ Remove extern int verbose declaration.
2007-12-03 17:32:02 +00:00
Olivier Houchard 0230421b55 MFC:
gnu/usr.bin/gdb/arch/arm/nm-fbsd.h rev 1.2
gnu/usr.bin/gdb/arch/arm/Makefile rev 1.2
gnu/usr.bin/gdb/arch/arm/armfbsd-nat.c 1.2
gnu/usr.bin/gdb/arch/arm/armfbsd-tdep.c rev 1.2
gnu/usr.bin/gdb/arch/arm/init.c rev 1.2
Allow gdb to attach live process.
Thread support for arm.

Approved by:	re (kensmith)
2007-12-02 14:38:21 +00:00
John Baldwin 3b9d5cb8c3 MFC: Teach kgdb how to handle double fault frames on i386.
Approved by:	re (kensmith)
2007-11-21 16:47:15 +00:00
John Baldwin 20ae8d4b99 MFC: Add the bump of the doc date missed in previous MFC. 2007-11-17 16:51:58 +00:00
John Baldwin b0fd55de47 MFC: Some minor whitespace and style fixes. 2007-11-17 16:50:20 +00:00
John Baldwin 9c9b147439 MFC: Document -w flag. 2007-11-17 16:49:45 +00:00
John Baldwin c4fb3bee9d MFC: Rename the private lookup() routine in kthr.c to kgdb_lookup() and
make it public so other parts of kgdb can use it.
2007-11-17 16:45:38 +00:00
Ruslan Ermilov 6cf200efdc MFC: Updated mdoc (FreeBSD 6.2 added, FreeBSD 5.5 and 7.0 documented,
better names for System V releases [1]).

PR:		docs/68845 [1]
2007-10-04 04:56:41 +00:00
Ruslan Ermilov 60d4ad387f MFC: Added FreeBSD/arm and FreeBSD 6.3. FreeBSD 5.5 and 7.0 are official. 2007-10-02 08:38:34 +00:00
Edwin Groothuis 76dac94729 MFC: Fix man(1) to allow .so to reference a compressed file
Original PR description:

        man(1) can't handle compressed included files.

        Some ports will install with compressed manpages. man handles
        this by looking for the .gz version of a man source file.
        It is also common to include other files with the .so
        directive where commands or functions share a man page.
        Traditionally ports have had to handle this by either not
        compressing the manpages, or using the _MLINKS macro in the
        port makefile to create symlinks to the actual source file,
        rather than using .so versions. Notably, the current version
        of Xorg port breaks. See ports/113096 and ports/115845.

PR:             bin/115850
Submitted by:   Callum Gibson <[email protected]>
2007-09-28 02:31:57 +00:00
David E. O'Brien 20e438ea02 Enable 'LD_LIBRARY_PATH=/foo:/bar ld -lfooz'
PR:	96481
2007-09-16 03:41:47 +00:00
John Baldwin dfe86ba669 MFC: Treat the frame under 'nmi_calltrap' as a trapframe. 2007-08-27 17:23:41 +00:00
Andrey A. Chernov 2b5694cfd7 Increase MAX_LEN to 4096
It fix core dump with latest ghostscript-gpl port (too many items)
2007-08-19 20:53:50 +00:00
Xin LI 9dc4987f21 MFC: diffutils 2.8.7. 2007-07-15 01:24:46 +00:00
cvs2svn b8b6a48d35 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-06-17 00:43:51 +00:00
Philip Paeps 7705da2193 MFC: Don't lie about saved reports.
PR:		gnu/89777
Submitted by:	edwin
2007-06-03 13:52:46 +00:00
Rong-En Fan 776abb1f96 MFC readline 5.2 patchset 002
Approved by:	delphij (mentor)
OKed by:	ache
2007-04-17 03:23:15 +00:00
Marcel Moolenaar d2b3271fd6 MFC: Fix PowerPC-targeted cross-builds performed on 64-bit platforms.
Makefile.inc0:1.38
	libbfd/bfd.h:1.4

PR: amd64/102996
2007-03-28 02:44:37 +00:00
Ed Maste 07a54aa47d MFC fbsd-threads.c 1.16:
Avoid writing uninitialized stack data into a thread's MMX/SSE state by
  first getting the current state with td_thr_getxmmregs_p.
2007-02-27 01:54:17 +00:00
Xin LI a965bc1e6d MFC: Replace gzip(1) with the BSD licensed version found in -HEAD.
Discussed with:	re, so, portmgr (kris)

All bugs are mine.
2007-02-20 08:33:32 +00:00
Craig Rodrigues ee952a8e0e MFC 1.6:
Try to avoid a possible infinite loop when parsing an invalid
  kernel dump file.

  PR:             108229
  Submitted by:   Jessica Han <jessicah juniper net>
2007-02-02 13:48:19 +00:00
Marcel Moolenaar 14fa6c3910 MFC 1.89: Build gperf(1) on PowerPC. 2007-01-07 00:34:00 +00:00
David E. O'Brien 463c55f006 MFC: configure for for big endian if __ARMEB__ or TARGET_BYTES_BIG_ENDIAN
is defined.

Approved by:	re(KEN)
2006-11-06 02:31:43 +00:00
David E. O'Brien 01ea750bf1 MFC: ARM support.
Approved by:	re(KEN)
2006-11-06 02:20:28 +00:00
Tom Rhodes eb426b6ecb Sync up to CURRENT and note the -P option is not supported on FreeBSD.
PR:		99831
Reviewed by:	ru
Approved by:	re (hrs)
2006-11-03 09:05:44 +00:00
Ceri Davies 6a488fe15a MFC revision 1.20:
Update the FILES section which has been wrong for some time.

Approved by: re (hrs)
2006-10-23 20:59:26 +00:00
Xin LI 98bd411f6e MFC: GNU cpio 2.6 (original committed by tjr@)
Approved by:	re (hrs)
2006-10-23 03:33:27 +00:00
David E. O'Brien 728d877674 MFC: build 'as' for big endian if "TARGET_BIG_ENDIAN" is defined.
Approved by:	re(KEN)
2006-10-16 16:42:56 +00:00
Ceri Davies 52643309a5 MFC revision 1.19:
Document the sun4v category.

Approved by:	re (bmah)
2006-10-15 15:59:06 +00:00
David E. O'Brien 09c2d5f409 MFC: rev. 1.11: -w kgdb kmem-based read-write mode.
Approved by:	re(KEN)
2006-10-11 14:27:09 +00:00
David E. O'Brien bd8243dac0 MFC: rev 1.58: ARM platform does setjmp/longjmp exceptions.
Approved by:	re(KEN)
2006-10-05 20:57:06 +00:00
David E. O'Brien 156f225611 ARM in its present state cannot handle the full LIB1ASMFUNCS and FP/DPBIT's
so build a limited set.

Approved by: re(KEN)
2006-10-05 19:46:06 +00:00
David E. O'Brien 4e19713f56 MFC: add some preliminary ARM support
Approved by:	re(KEN)
2006-09-29 01:56:01 +00:00
David E. O'Brien 1f13ef9f96 MFC: rev 1.19: change platform name.
Approved by:	re(KEN)
2006-09-29 01:54:09 +00:00
David E. O'Brien 95aab27634 MFC: default to big endian ARM if "TARGET_BIG_ENDIAN" is defined.
Approved by:	re(KEN)
2006-09-29 01:50:03 +00:00
David E. O'Brien d2259dd366 MFC: rev 1.25: remove redundant defines alerady set.
Approved by:	re(KEN)
2006-09-29 01:44:25 +00:00