Commit Graph

25433 Commits

Author SHA1 Message Date
Doug Evans 40b5c9fb4b * charset.c: Include environ.h.
(ignore_line_p): New function.
	(find_charset_names): Handle older versions of iconv that print
	human-readable output even if stdout is not a tty.
2009-12-08 07:25:32 +00:00
Kevin Buettner 34207b9e41 * NEWS: Announce Renesas RX support. 2009-12-08 00:17:45 +00:00
gdbadmin 26da80b4d6 *** empty log message *** 2009-12-08 00:00:33 +00:00
Kevin Buettner baa835b4f4 * configure.tgt: Add rx-*-elf target.
* rx-tdep.c: New target.
2009-12-07 19:58:41 +00:00
Tristan Gingold f43525316b 2009-12-07 Tristan Gingold <gingold@adacore.com>
* symfile.h (struct sym_fns): Adjust comment on sym_read.
	* symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
	* dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
	adjust header comment.
	* elfread.c (elf_symfile_read): Ditto.
	* somread.c (som_symfile_read): Ditto.
	* xcoffread.c (xcoff_initial_scan): Ditto.
	* coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
	* machoread.c (macho_symfile_read): Ditto.
	* mipsread.c (mipscoff_symfile_read): Ditto.
2009-12-07 09:47:40 +00:00
Tristan Gingold de1d8fb992 2009-12-07 Tristan Gingold <gingold@adacore.com>
* dbxread.c (dbx_symfile_read): No need to test mainline to call
	init_psymbol_list.
	* xcoffread.c (xcoff_initial_scan): Ditto;
	* coffread.c (coff_symfile_read): Remove call to init_psymbol_list.
	* elfread.c (elf_symfile_read): Ditto.
	* machoread.c (macho_symfile_read): Ditto.
2009-12-07 09:36:44 +00:00
gdbadmin e1c9c36ff6 *** empty log message *** 2009-12-07 00:00:33 +00:00
gdbadmin e4d730da37 *** empty log message *** 2009-12-06 00:00:33 +00:00
gdbadmin 6b372c7dcf *** empty log message *** 2009-12-05 00:00:03 +00:00
Daniel Jacobowitz 7f79b1c54f * valops.c (value_struct_elt_for_reference): Do not rely on
field order.
2009-12-04 20:26:33 +00:00
gdbadmin 3d2a8c7328 *** empty log message *** 2009-12-04 00:00:03 +00:00
Phil Muldoon bfd31e7118 2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
* python/py-type.c (convert_field): New attribute "is_base_class".

doc/

2009-12-03  Richard Ward  <richard.j.ward1@googlemail.com>

	* gdb.texinfo (Types In Python): Describe "is_base_class".

testsuite/

2009-12-03  Phil Muldoon <pmuldoon@redhat.com>

	PR python/10805

	* gdb.python/py-type.exp: New file.
	* gdb.python/py-type.c: New file.
	* Makefile.in: Add py-type.
2009-12-03 21:19:49 +00:00
Tom Tromey 57a1d73695 gdb
* python/python.c (gdbpy_parse_and_eval): New function.
	(GdbMethods): Add "parse_and_eval".
gdb/testsuite
	* gdb.python/py-value.exp (test_parse_and_eval): New
	function.
gdb/doc
	* gdb.texinfo (Basic Python): Document gdb.parse_and_eval.
2009-12-03 18:30:02 +00:00
Jan Kratochvil fb16983447 gdb/
* linux-thread-db.c (find_new_threads_once): Change errp and err types
	to td_err_e.
	(thread_db_find_new_threads_2): Change err type to td_err_e.
2009-12-03 17:59:02 +00:00
Paul Pluzhnikov 1f3b5d1baf ChangeLog:
2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

	PR gdb/11022

	* breakpoint.c (invalidate_bp_value_on_memory_change):
	New function.
	(_initialize_breakpoint): Add it as memory change observer.

testsuite/ChangeLog:

2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

       PR gdb/11022

       * gdb.base/pr11022.exp: New test.
       * gdb.base/pr11022.c: New test.
2009-12-03 17:47:08 +00:00
Tristan Gingold 033c64b7ea 2009-12-03 Tristan Gingold <gingold@adacore.com>
* machoread.c (macho_sym_fns): Set sym_segment routine.
2009-12-03 14:21:22 +00:00
Jan Kratochvil 8b7dbdc923 gdb/testsuite/
Fix spurious false FAILs.
	* gdb.base/structs.c (chartest): New.
	(main): Fill-in chartest.
	* gdb.base/structs.exp (anychar_re, first): New.
	(start_structs_test): Import global anychar_re and first.
	New gdb_test call "set print elements 300; ${testfile}"
	(start_structs_test <$first>): New block.
	(any): Import global anychar_re.  New variable ac.  Use ${ac}.
2009-12-03 11:40:18 +00:00
gdbadmin 55da44bd78 *** empty log message *** 2009-12-03 00:00:33 +00:00
Paul Pluzhnikov 8cebebb9a2 gdb/ChangeLog:
2009-12-02  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* ada-lang.c (ada_value_assign): Use observer_notify_memory_changed.
	* valops.c (value_assign): Likewise.
	* defs.h (deprecated_memory_changed_hook): Remove.
	* top.c (deprecated_memory_changed_hook): Likewise.
	* interps.c (clear_interpreter_hooks): Adjust.

gdb/gdbtk/ChangeLog:

2009-12-02  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* generic/gdbtk-hooks.c (gdbtk_memory_changed): Adjust.
	(gdbtk_add_hooks): Adjust.

gdb/doc/ChangeLog:

2009-12-02  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* observer.texi: New memory_changed observer.
2009-12-02 19:29:42 +00:00
Tristan Gingold f29dff0a09 2009-12-02 Tristan Gingold <gingold@adacore.com>
* symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in
	prototype.
	* dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in
	definition, simplify code assuming it is always 0.
	* coffread.c (coff_symfile_read): Adjust call.
	* elfread.c (elf_symfile_read): Ditto.
	* machoread.c (macho_symfile_read): Explicitely calls
	init_psymbol_list if mainline is set.
2009-12-02 11:44:35 +00:00
Tristan Gingold c67a9c901a 2009-12-02 Tristan Gingold <gingold@adacore.com>
* dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter.
	(dwarf2_build_psymtabs_hard): Ditto.
	(dwarf2_build_psymtabs): Ajust calls.
	* stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on
	the prototype.
	(coffstab_build_psymtabs): Ditto.
	(stabsect_build_psymtabs): Ditto.
	* dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on
	the definition.
	(elfstab_build_psymtabs): Ditto.
	(stabsect_build_psymtabs): Ditto.
	* coffread.c (coff_symfile_read): Adjust call.
	* elfread.c (elf_symfile_read): Ditto.
	* somread.c (som_symfile_read): Ditto.
2009-12-02 11:34:37 +00:00
Tristan Gingold 06be6983bb 2009-10-23 Tristan Gingold <gingold@adacore.com>
* charset.c (_initialize_charset): Set a default value to
	auto_host_charset_name if empty.
2009-12-02 11:16:42 +00:00
gdbadmin 52e6018d9d *** empty log message *** 2009-12-02 00:00:33 +00:00
Joseph Myers de18c1d81e * gcore.c: Include solib.h.
(gcore_create_callback): Call solib_keep_data_in_core when
	considering not saving memory in core file.
	* solib-svr4.c (svr4_keep_data_in_core): New.
	(_initialize_svr4_solib): Initialize
	svr4_so_ops.keep_data_in_core.
	* solib.c (solib_keep_data_in_core): New.
	* solib.h (solib_keep_data_in_core): Declare.
	* solist.h (struct target_so_ops): Add keep_data_in_core.
2009-12-01 22:46:15 +00:00
Tom Tromey 16af530a6f * gdb.texinfo (Reverse Execution): Fix typo. 2009-12-01 22:15:27 +00:00
gdbadmin a03a764f32 *** empty log message *** 2009-12-01 00:00:03 +00:00
Jan Kratochvil 6a53b2ec3d gdb/testsuite/
* gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2009-11-30 22:56:34 +00:00
Jan Kratochvil d7167b4c6a gdb/testsuite/
* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
	Force $srcfile file.
	* gdb.base/foll-fork.c (callee): Comment out the printf call.
2009-11-30 22:55:27 +00:00
Joseph Myers 3388710e18 config:
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
	AC_CANONICAL_TARGET.

bfd:
	* configure: Regenerate.

binutils:
	* configure: Regenerate.

gas:
	* configure: Regenerate.

gdb:
	* configure: Regenerate.

gprof:
	* configure: Regenerate.

ld:
	* configure: Regenerate.
2009-11-30 16:46:47 +00:00
gdbadmin d8b31cf055 *** empty log message *** 2009-11-30 00:00:33 +00:00
gdbadmin 2879905920 *** empty log message *** 2009-11-29 00:00:33 +00:00
Vladimir Prus ba7f6c64f3 * target.c (target_terminal_inferior): Use target_can_async_p, not
target_is_async_p.
2009-11-28 17:00:55 +00:00
gdbadmin 7223f25155 *** empty log message *** 2009-11-28 00:00:33 +00:00
Ulrich Weigand b179846202 gdb/
* s390-nat.c (s390_can_use_hw_breakpoint): Only support breakpoints
	of type bp_hardware_watchpoint.

gdb/testsuite/

	* gdb.base/hbreak.exp: Disable for s390*-*-* targets.
	* gdb.base/watchpoint-hw-hit-once.exp: Likewise.
	* gdb.threads/watchthreads-reorder.exp: Likewise.
2009-11-27 16:12:00 +00:00
Joel Brobecker 1b536f04b9 * ada-lang.c: Apply some corrections to the previous comment addition. 2009-11-27 15:33:47 +00:00
Joel Brobecker 21649b50de * ada-lang.c: Update the comment explaining how to evaluate
Ada expressions.
2009-11-27 01:49:41 +00:00
gdbadmin fc3d517bcc *** empty log message *** 2009-11-27 00:00:33 +00:00
Pedro Alves aeeb81d1c7 * win32-low.c (get_child_debug_event): On EXIT_THREAD_DEBUG_EVENT
events, don't leave current_inferior pointing at null.
2009-11-26 22:18:40 +00:00
Pedro Alves 103579754b * win32-low.c (LOG): Delete.
(OUTMSG): Output to stderr.
	(OUTMSG2): Conditionalize on `debug_threads' variable, instead of
	on compile time LOG macro.
	(win32_wait): Fix debug output.
2009-11-26 22:16:29 +00:00
Pedro Alves cf6e347119 * win32-low.c (win32_add_one_solib): If the dll name is
"ntdll.dll", prepend the system directory to the dll path.
2009-11-26 22:14:39 +00:00
gdbadmin f1b9c60a8f *** empty log message *** 2009-11-26 00:00:34 +00:00
Daniel Jacobowitz b6199126ee PR gdb/8704
* breakpoint.c (find_condition_and_thread): Correct task error message.
	* c-exp.y (yylex): Stop before "thread N", "task N", or abbreviations
	of those.

	doc/
	* gdb.texinfo (Thread-Specific Breakpoints): Thread specifiers
	are allowed after the breakpoint condition.

	testsuite/
	* gdb.base/condbreak.exp: Test combinations of "break *EXP",
	"if", and "thread".  Correct matching in the previous test.
2009-11-25 20:43:29 +00:00
Daniel Jacobowitz b22a051097 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test. 2009-11-25 15:31:54 +00:00
gdbadmin db91f3f49f *** empty log message *** 2009-11-25 00:00:03 +00:00
Joel Brobecker b040ad30f5 * acinclude.m4: Include ../config/zlib.m4.
* configure.ac: Use AM_ZLIB to check for zlib support.
        * configure: Regenerate.
2009-11-24 22:59:53 +00:00
Joel Brobecker 3dba1c9899 * breakpoint.c (expand_line_sal_maybe): Adjust adjust the SAL
past the function prologue in the case where we were given only
        one SAL.
2009-11-24 21:37:52 +00:00
Pedro Alves 58ed7dcdd0 * record.c (init_record_ops, init_record_core_ops): Actually
install record_stopped_data_address.
2009-11-24 01:47:51 +00:00
gdbadmin 94885983f7 *** empty log message *** 2009-11-24 00:00:02 +00:00
Tom Tromey 85d9bd0e05 2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
2009-11-23 22:08:01 +00:00
Tom Tromey 53d72f980c * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'. 2009-11-23 22:06:04 +00:00