Commit Graph

56489 Commits

Author SHA1 Message Date
Thiago Jung Bauermann 213e4dc22e * gdbtypes.c (gdbtypes_post_init): Change names of decimal float types
to conform to C extension for decimal float.
	* c-lang.c (enum c_primitive_types): Add entries for Decimal Floating
	Point types.
	(enum cplus_primitive_types): Likewise.
	(c_language_arch_info): Add Decimal Floating Point builtin types to
	the primitive_type_vector.
	(cplus_language_arch_info): Likewise.
2007-12-20 17:17:21 +00:00
Maciej W. Rozycki 5863b5d536 * mips-tdep.c (mips_n32n64_push_dummy_call): Sign-extend
integers and 32-bit pointers as required by the ABI.
2007-12-20 17:13:57 +00:00
Ian Lance Taylor 1e9836570f Update comments about output offsets and merged input sections. 2007-12-20 16:27:34 +00:00
Hans-Peter Nilsson 63c2c2877b * ld-elf/seg.d: Restrict to linux and vxworks. 2007-12-20 11:36:56 +00:00
Joel Brobecker 10d00faca9 * symtab.h: Remove "defs.h" #include.
* Makefile.in (symtab_h): Update dependencies.
2007-12-20 05:36:14 +00:00
Ian Lance Taylor 4106a0814a Remove one inline. 2007-12-20 01:32:10 +00:00
Ian Lance Taylor 8f00aeb8a6 Make functions on hot path inline. Remove a mistaken virtual
declaration.
2007-12-20 01:29:04 +00:00
gdbadmin 007fb11822 *** empty log message *** 2007-12-20 00:00:34 +00:00
Alan Modra 7e8909d4c4 daily update 2007-12-19 23:00:05 +00:00
DJ Delorie beb7a8835e * frv/frv.c (frvbf_cut): Only look at the six LSBs of
cut_point.
2007-12-19 20:55:03 +00:00
Jeff Johnston 2f959d61e7 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.LIBGLOSS: Update default copyright.
2007-12-19 20:47:45 +00:00
Jeff Johnston aa054b85a7 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Update default copyright.
2007-12-19 19:12:23 +00:00
H.J. Lu 4be84a55a2 2007-12-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/seg.d: Adjusted for 64bit targets.
2007-12-19 15:54:06 +00:00
Pierre Muller abc8a88dc5 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
* (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
	and record first explicitly generated thread number.
	Use that thread number for thread specific watchpoint test.
	Add iteration number to repetitive tests.
2007-12-19 14:40:37 +00:00
Joel Brobecker 67cd94cafd * symtab.h: #include "defs.h".
(enum language): Remove opaque declaration.
        * Makefile.in (symtab_h): Update dependencies.
2007-12-19 13:21:32 +00:00
Joel Brobecker 7a188e2b3d * language.h (enum exp_opcode): Remove commented out forward
declaration.
        (op_error): Delete declaration.
2007-12-19 12:55:09 +00:00
Nathan Sidwell d3cfff61d7 * ld-elf/seg.t: New.
* ld-elf/seg.d: New.
	* ld-elf/seg.s: New.
2007-12-19 10:22:02 +00:00
Joel Brobecker b50d744268 * infrun.c (handle_inferior_event): Fix spelling in comment. 2007-12-19 05:16:36 +00:00
Ian Lance Taylor 2030fba084 Move Stringpool offsets into a chunked_vector indexed by keys. 2007-12-19 01:23:46 +00:00
Ian Lance Taylor 9bb53bf8b8 Avoid some warnings which showed up in 64-bit mode. 2007-12-19 01:18:41 +00:00
Ian Lance Taylor c0873094f5 Use string length when available when calling Stringpool. Compare
pointers first when looking up Stringpool entries.
2007-12-19 00:29:28 +00:00
gdbadmin 2353d21439 *** empty log message *** 2007-12-19 00:00:33 +00:00
Alan Modra 868b494e1b daily update 2007-12-18 23:00:05 +00:00
Daniel Jacobowitz b65d95c576 * linux-low.c (linux_wait_for_event): Update messages. Do not
reinsert auto-delete breakpoints.
	* mem-break.c (struct breakpoint): Change return type of handler to
	int.
	(set_breakpoint_at): Update handler type.
	(reinsert_breakpoint_handler): Return 1 instead of calling
	delete_breakpoint.
	(reinsert_breakpoint_by_bp): Check for the original breakpoint before
	setting a new one.
	(check_breakpoints): Delete auto-delete breakpoints and return 2.
	* mem-break.h (set_breakpoint_at): Update handler type.
	* thread-db.c (thread_db_create_event, thread_db_create_event): Update.
	* win32-low.c (auto_delete_breakpoint): New.
	(get_child_debug_event): Use it.
2007-12-18 21:58:01 +00:00
Ian Lance Taylor 0205c1752c Don't write unattached after_input sections twice. 2007-12-18 21:45:28 +00:00
Jim Blandy ab209b3a0d Fix filename in ChangeLog entry. 2007-12-18 21:32:50 +00:00
Ian Lance Taylor 38c5e8b493 Print statistics about merge sections with --stats. 2007-12-18 21:24:10 +00:00
Daniel Jacobowitz cb2dde36a0 * section.c (BFD_FAKE_SECTION): Update.
* bfd-in2.h: Regenerate.
2007-12-18 19:48:07 +00:00
Daniel Jacobowitz f1a35370eb * bfd-in2.h: Regenerate. 2007-12-18 19:38:26 +00:00
Jim Blandy d8b2a6932a * doc/gdb.texinfo (Set Watchpoints): Integrate per-thread
watchpoint explanation into the main description of the watchpoint
command; update synopses of 'watch', 'rwatch', and 'awatch'
commands.
2007-12-18 18:11:09 +00:00
Daniel Jacobowitz 56e3f43cb6 * minsyms.c (lookup_minimal_symbol): Also check the separate
debug objfile.
	(lookup_minimal_symbol_text): Likewise.
	(lookup_minimal_symbol_solib_trampoline): Likewise.
	* symtab.c (lookup_global_symbol_from_objfile): Likewise.
2007-12-18 16:02:54 +00:00
Vladimir Prus 8b4ed4273f * mi/mi-main.c (mi_cmd_list_features): Announce
the 'pending-breakpoints' feature.
2007-12-18 11:06:12 +00:00
Richard Sandiford 57c53b2bff /tmp/foo.diff 2007-12-18 07:37:34 +00:00
Richard Sandiford fee14b6075 /tmp/foo.diff 2007-12-18 07:34:56 +00:00
Ian Lance Taylor 8383303e0a Add section_size_type and section_offset_type, use them to replace a
lot of instances of off_t.
2007-12-18 00:48:04 +00:00
gdbadmin 3d372cd7a1 *** empty log message *** 2007-12-18 00:00:03 +00:00
Alan Modra eda094f09b daily update 2007-12-17 23:00:05 +00:00
H.J. Lu 4746505869 2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (output_insn): Use ARRAY_SIZE.
	(lex_got): Likewise.
2007-12-17 19:41:57 +00:00
H.J. Lu 4a3523fa63 2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR
	instead of frag_more/md_number_to_chars.
	(md_short_jump_size): Removed.
	(md_long_jump_size): Likewise.
	(md_create_short_jump): Likewise.
	(md_create_long_jump): Likewise.
2007-12-17 18:53:06 +00:00
Jim Blandy c6a0999f0f * dwarf2read.c (dwarf2_add_field): Correctly scale all byte
offsets obtained from DW_AT_data_member_location before recording
them in FIELD_BITPOS (*fp).

* dwarf2read.c (attr_form_is_section_offset): Doc fixes.
2007-12-17 18:38:30 +00:00
Maciej W. Rozycki 9544c605b6 * utils.c (string_to_core_addr): If the executable format
indicates that addresses should be sign-extended and there are
only 8 hex digits in the address, then do so.
* Makefile.in (utils.o): Depend on $(gdbcore_h).
2007-12-17 17:49:29 +00:00
Maciej W. Rozycki aa707ed0e5 * symfile.c (init_filename_language_table): Recognise .sx as
an assembler file.
2007-12-17 17:20:15 +00:00
Carlos Eduardo Seo 5158f3e312 * gdb.base/expand-psymtabs.c: New testcase
source file.
	* gdb.base/expand-psymtabs.exp: New testcase
	expect file.
2007-12-17 14:56:33 +00:00
Joel Brobecker 62dfaa9c0d * language.h (enum exp_opcode): Comment out this declaration,
undoing the previous change.
2007-12-17 14:06:34 +00:00
Luis Machado 37e4754d76 * breakpoint.c: (watch_command_1): Parse additional optional
"thread" parameter to the watchpoint command and set the
      "thread" member of the breakpoint struct.
      * doc/gdb.texinfo: Add new parameter's description.
      * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
      * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
2007-12-17 12:32:23 +00:00
Luis Machado 28e78778f5 * breakpoint.c (bpstat_stop_status): Check an additional
condition before evaluating an expression value.
2007-12-17 11:34:45 +00:00
Joel Brobecker 551e5d04d1 * gdb.ada/frame_args/foo.adb: New file.
* gdb.ada/frame_args/pck.ads: New file.
        * gdb.ada/frame_args/pck.adb: New file.
        * gdb.ada/frame_args.exp: New testcase.
2007-12-17 07:26:08 +00:00
Joel Brobecker a05ee09706 * gdb.base/frame-args.c: New file.
* gdb.base/frame-args.exp: New testcase.
2007-12-17 07:18:03 +00:00
Joel Brobecker b62f344344 * language.h (enum exp_opcode): Add forward declaration.
(language_string_char_type, language_lookup_primitive_type_by_name):
        Move declaration past declaration of language_defn.
2007-12-17 07:00:49 +00:00
Pedro Alves f164edfa5d * config.bfd: Add arm-*-mingw32ce* target. 2007-12-17 01:50:44 +00:00