cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-10-02 Thread John Baldwin
jhb 2008-10-02 20:42:10 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: SVN rev 183556 on 2008-10-02 20:42:10Z by jhb Oops, initialize sections and sections_end to NULL. Submitted by: Navdeep Parhar MFC after: 1 week Revision

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-09-25 Thread John Baldwin
jhb 2008-09-25 19:32:03 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: SVN rev 183359 on 2008-09-25 19:32:03Z by jhb Use existing GDB routines for parsing the section table of klds in the 'add-kld' command instead of doing it more by hand.

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-05-05 Thread John Baldwin
jhb 2008-05-05 19:15:38 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) gnu/usr.bin/gdb/kgdb kld.c Log: MFC: Remove the 'add_kld_command' arg from load_kld(). Revision ChangesPath 1.6.4.3 +5 -12 src/gnu/usr.bin/gdb/kgdb/kld.c ___

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-05-05 Thread John Baldwin
jhb 2008-05-05 19:15:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) gnu/usr.bin/gdb/kgdb kld.c Log: MFC: Remove the 'add_kld_command' arg from load_kld(). Revision ChangesPath 1.6.2.3 +5 -12 src/gnu/usr.bin/gdb/kgdb/kld.c ___

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-04-28 Thread John Baldwin
jhb 2008-04-28 15:26:12 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: Remove the 'add_kld_command' arg from load_kld(). It is always true since the auto-loading of kld's switched to hooking into gdb's shared library support. MFC after:

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c main.c

2008-04-03 Thread John Baldwin
jhb 2008-04-03 18:47:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) gnu/usr.bin/gdb/kgdb kld.c main.c Log: 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. Thi

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c main.c

2008-04-03 Thread John Baldwin
jhb 2008-04-03 18:46:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) gnu/usr.bin/gdb/kgdb kld.c main.c Log: 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. Thi

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-03-28 Thread John Baldwin
jhb 2008-03-29 03:48:06 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: Initialize the head pointer in kld_current_sos() to NULL to avoid returning a junk pointer and possibly causing a seg fault if we don't have any non-kernel klds (or are unab

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-01-29 Thread John Baldwin
jhb 2008-01-29 23:36:42 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: Use target_read_memory() and extract_unsigned_integer() instead of direct KVM access to read kernel pointers. Revision ChangesPath 1.5 +6 -19 src/gnu/usr

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-01-29 Thread John Baldwin
jhb 2008-01-29 23:36:10 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: Don't look for "foo.ko.symbols" files. GDB is smart enough to open the ".symbols" file automatically when you tell it to load "foo.ko" because of the debug link. Revis

cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c

2008-01-28 Thread John Baldwin
jhb 2008-01-28 21:45:09 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: Use a for loop in find_kld_address() as in kgdb_auto_load_klds() and replace the remaining goto's with continues as a result. Revision ChangesPath 1.3 +4 -7