binutils-gdb.git
17 years agoFrom Craig Silverstein: Add --strip-debug-gdb.
Ian Lance Taylor [Thu, 15 Nov 2007 23:03:45 +0000 (23:03 +0000)]
From Craig Silverstein: Add --strip-debug-gdb.

17 years agodaily update
Alan Modra [Thu, 15 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago * buildsym.h (subfiles): Move ...
Doug Evans [Thu, 15 Nov 2007 22:54:22 +0000 (22:54 +0000)]
* buildsym.h (subfiles): Move ...
* buildsym.c (subfiles): ... to here and make static.

17 years agoWorkaround bug in gcc 4.0.3 STL.
Ian Lance Taylor [Thu, 15 Nov 2007 20:41:19 +0000 (20:41 +0000)]
Workaround bug in gcc 4.0.3 STL.

17 years ago * symmisc.c (maintenance_info_symtabs): Print linetable info.
Doug Evans [Thu, 15 Nov 2007 18:43:23 +0000 (18:43 +0000)]
* symmisc.c (maintenance_info_symtabs): Print linetable info.
* doc/gdb.texinfo (Symbols): Update output of "maint info symtabs".

17 years ago2007-11-15 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Thu, 15 Nov 2007 13:54:57 +0000 (13:54 +0000)]
2007-11-15  Markus Deuling  <deuling@de.ibm.com>

* mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove

17 years ago2007-11-15 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Thu, 15 Nov 2007 13:53:11 +0000 (13:53 +0000)]
2007-11-15  Markus Deuling  <deuling@de.ibm.com>

* arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its
expression and use get_frame_arch to replace current_gdbarch by frame's
architecture.
*arm-tdep.h (LOWEST_PC): Remove

17 years agoMove changelog entries to the right ChangeLog
Vladimir Prus [Thu, 15 Nov 2007 07:11:52 +0000 (07:11 +0000)]
Move changelog entries to the right ChangeLog

17 years ago Apply const qualifier to some users of bp_location.
Vladimir Prus [Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)]
Apply const qualifier to some users of bp_location.
* breakpoint.h (struct bpstats): Make
the breakpoint_at field point at const bp_location.
* breakpoint.c (bpstat_alloc): Accept const
bp_location.
(breakpoint_here_p, breakpoint_inserted_here_p)
(software_breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status)
(read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
const bp_location for iteration.
(print_it_typical, print_bp_stop_message): Use
const bp_location variable.

17 years ago Make mark_breakpoints_out static.
Vladimir Prus [Thu, 15 Nov 2007 06:46:21 +0000 (06:46 +0000)]
Make mark_breakpoints_out static.
* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.

17 years ago Prevent clear_command from directly modifying breakpoint list.
Vladimir Prus [Thu, 15 Nov 2007 06:28:19 +0000 (06:28 +0000)]
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain.  Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint.  Register vector of breakpoint_p.

17 years ago Remove 'run_cleanup'.
Vladimir Prus [Thu, 15 Nov 2007 06:24:17 +0000 (06:24 +0000)]
Remove 'run_cleanup'.
* defs.h (do_run_cleanups, make_run_cleanup): Remove
declarations.
* infcmd.c (run_command_1): Call clear_solib instead
of do_run_cleanups.
* jv-lang.c (java_rerun_cleanup): Remove, for lack of
any use.
* solib.c (solib_cleanup_queued, do_clear_solib): Remove.
(update_solib_lib): Don't setup run cleanup.
(no_shared_libraries): Call clear_solib, not do_clear_solib.
* utils.c (run_cleanup_chain, make_run_cleanup)
(do_run_cleanups): Remove.

17 years ago Remove CLEAR_SOLIB use.
Vladimir Prus [Thu, 15 Nov 2007 06:14:26 +0000 (06:14 +0000)]
Remove CLEAR_SOLIB use.
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.

17 years ago PR 5328
Alan Modra [Thu, 15 Nov 2007 05:20:30 +0000 (05:20 +0000)]
PR 5328
* opncls.c (separate_debug_file_exists): Use fopen/fread
rather than open/read and open in binary mode.

17 years agoFrom Craig Silverstein: Add support for --demangle.
Ian Lance Taylor [Thu, 15 Nov 2007 01:12:55 +0000 (01:12 +0000)]
From Craig Silverstein: Add support for --demangle.

17 years ago*** empty log message ***
gdbadmin [Thu, 15 Nov 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * buildsym.c (start_subfile,start_symtab): Doc fixes.
Doug Evans [Wed, 14 Nov 2007 23:14:40 +0000 (23:14 +0000)]
* buildsym.c (start_subfile,start_symtab): Doc fixes.

17 years agodaily update
Alan Modra [Wed, 14 Nov 2007 23:00:07 +0000 (23:00 +0000)]
daily update

17 years agogas/
H.J. Lu [Wed, 14 Nov 2007 22:31:54 +0000 (22:31 +0000)]
gas/

2007-11-14  Tristan Gingold  <gingold@adacore.com>

* config/tc-ia64.c (AR_RUC): Defined.
(ar): Add "ar.ruc".
(specify_resource): Handle AR_RUC like AR_ITC.

gas/testsuite/

2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/dv-raw-err.s: Add tests for ar.ruc.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/invalid-ar.s: Likewise.

* gas/ia64/regs.s: Add tests for ar.ruc and ar44.

* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/dv-waw-err.l: Likewise.
* gas/ia64/invalid-ar.l: Likewise.
* gas/ia64/regs.d: Likewise.

opcodes/

2007-11-14  H.J. Lu  <hongjiu.lu@intel.com>

* ia64-ic.tbl: Updated for Itanium 9100 series.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.

2007-11-14  Tristan Gingold  <gingold@adacore.com>

* ia64-dis.c (print_insn_ia64): Handle ar.ruc.
* ia64-gen.c (lookup_regindex): Likewise.

17 years agoFrom Cary Coutant: Improve i386 shared library TLS support.
Ian Lance Taylor [Wed, 14 Nov 2007 22:31:02 +0000 (22:31 +0000)]
From Cary Coutant: Improve i386 shared library TLS support.

17 years agobfd/
Richard Sandiford [Wed, 14 Nov 2007 20:46:15 +0000 (20:46 +0000)]
bfd/
2007-09-18  Richard Sandiford  <richard@codesourcery.com>

* elfxx-mips.c (mips_got_page_range): New structure.
(mips_got_page_entry): Likewise.
(mips_got_info): Add page_gotno and got_page_entries fields.
(mips_elf_got_per_bfd_arg): Add max_pages field.  Delete
primary_count and current_count fields.
(mips_got_page_entry_hash, mips_got_page_entry_eq): New functions.
(mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise.
(mips_elf_get_got_for_bfd): New function, split out from
mips_elf_make_got_per_bfd.  Initialize the page_gotno and
got_page_entries fields when creating a new GOT structure.
(mips_elf_make_got_pages_per_bfd): New function.
(mips_elf_merge_got_with): New function, split out from
mips_elf_make_got_per_bfd.  Merge page entries as well as
non-page entries.  Use the minimum of max_pages and the sum
of the page_gotnos to estimate the number of page entries.
(mips_elf_merge_gots): Use the minimum of max_pages and the
bfd's page_gotno to estimate the number of page entries.
Use the above functions.
(mips_elf_multi_got): Add page entries as well as non-page entries
to the individual per-bfd GOTs.  Initialize got_per_bfd_arg.max_pages.
Initialize the page_gotno and got_page_entries fields when creating
a new primary GOT.  Use the minimum of pages and page_gotno when
adding the number of pages entries to local_gotno.
(mips_elf_create_got_section): Initialize the page_gotno and
got_page_entries fields of the GOT structure.
(mips_elf_rel_relocation_p, mips_elf_read_rel_addend)
(mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New
functions, split out from...
(_bfd_mips_elf_relocate_section): ...here.
(_bfd_mips_elf_check_relocs): Record GOT page entries too.
(_bfd_mips_relax_section): Use mips_elf_get_section_contents.
(_bfd_mips_elf_always_size_sections): Use the smaller of the
loadable_size- and page_gotno-derived estimates.

ld/testsuite/
2007-09-18  Richard Sandiford  <richard@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* ld-mips-elf/got-page-1.d, ld-mips-elf/got-page-1.s,
* ld-mips-elf/got-page-2.d, ld-mips-elf/got-page-2.s,
* ld-mips-elf/got-page-3.d, ld-mips-elf/got-page-3a.s,
* ld-mips-elf/got-page-3b.s, ld-mips-elf/got-page-3c.s,
* ld-mips-elf/got-page-1.ld: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
* ld-mips-elf/multi-got-1.d, ld-mips-elf/multi-got-no-shared.d,
* ld-mips-elf/tls-hidden2-got.d, ld-mips-elf/tls-hidden2.d,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.r, ld-mips-elf/tls-hidden4.got,
* ld-mips-elf/tls-hidden4.r, ld-mips-elf/tls-multi-got-1.d,
* ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
* ld-mips-elf/tlsbin-o32.d, ld-mips-elf/tlsbin-o32.got,
* ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
* ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
* ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
* ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
* ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-o32-ver.got,
* ld-mips-elf/tlslib-o32.d, ld-mips-elf/tlslib-o32.got: Update for
GOT allocation changes.

17 years ago * elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent
Thiemo Seufer [Wed, 14 Nov 2007 20:04:22 +0000 (20:04 +0000)]
* elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent
unwanted fallthroughs in case statement.

17 years agoFrom Craig Silverstein: Report output file name with ODR violation
Ian Lance Taylor [Wed, 14 Nov 2007 18:44:58 +0000 (18:44 +0000)]
From Craig Silverstein: Report output file name with ODR violation
warning message.

17 years agoIf generating a .err file fails, remove it.
Ian Lance Taylor [Wed, 14 Nov 2007 18:37:00 +0000 (18:37 +0000)]
If generating a .err file fails, remove it.

17 years agoFrom Craig Silverstein: Clean up DWARF line reader code.
Ian Lance Taylor [Wed, 14 Nov 2007 18:33:47 +0000 (18:33 +0000)]
From Craig Silverstein: Clean up DWARF line reader code.

17 years agoAdd heuristics for undefined symbol warnings.
Ian Lance Taylor [Wed, 14 Nov 2007 16:53:25 +0000 (16:53 +0000)]
Add heuristics for undefined symbol warnings.

17 years agoComment out undef_symbol.err for now.
Ian Lance Taylor [Wed, 14 Nov 2007 15:24:08 +0000 (15:24 +0000)]
Comment out undef_symbol.err for now.

17 years ago * ld-elf/flags1.d: Generalize regexp for section size.
Hans-Peter Nilsson [Wed, 14 Nov 2007 10:11:12 +0000 (10:11 +0000)]
* ld-elf/flags1.d: Generalize regexp for section size.

17 years agoDefault to --allow-shlib-undefined for now.
Ian Lance Taylor [Wed, 14 Nov 2007 09:39:13 +0000 (09:39 +0000)]
Default to --allow-shlib-undefined for now.

17 years agoRevert last patch.
Ian Lance Taylor [Wed, 14 Nov 2007 08:03:41 +0000 (08:03 +0000)]
Revert last patch.

17 years agoSupport special always-defined symbols for targets.
Ian Lance Taylor [Wed, 14 Nov 2007 07:52:21 +0000 (07:52 +0000)]
Support special always-defined symbols for targets.

17 years agoWarn about undefined references in shared libraries if we have seen
Ian Lance Taylor [Wed, 14 Nov 2007 07:34:53 +0000 (07:34 +0000)]
Warn about undefined references in shared libraries if we have seen
all the DT_NEEDED entries for that library.

17 years agoFrom Craig Silverstein: Rework debug info code a bit, add option for
Ian Lance Taylor [Wed, 14 Nov 2007 01:03:01 +0000 (01:03 +0000)]
From Craig Silverstein: Rework debug info code a bit, add option for
ODR violations, add test case.

17 years ago*** empty log message ***
gdbadmin [Wed, 14 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Tue, 13 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 13 Nov 2007 20:17:43 +0000 (20:17 +0000)]
2007-11-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5307
* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
copy input subsystem if output is different from input.

17 years agoFrom Craig Silverstein: First cut at detecting ODR violations.
Ian Lance Taylor [Tue, 13 Nov 2007 20:02:32 +0000 (20:02 +0000)]
From Craig Silverstein: First cut at detecting ODR violations.

17 years ago * tui/tui-data.c (tui_prev_win): Guard against NULL.
Thiago Jung Bauermann [Tue, 13 Nov 2007 17:00:11 +0000 (17:00 +0000)]
* tui/tui-data.c (tui_prev_win): Guard against NULL.

17 years agomerge from gcc
DJ Delorie [Tue, 13 Nov 2007 15:12:42 +0000 (15:12 +0000)]
merge from gcc

17 years ago2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 13 Nov 2007 13:20:02 +0000 (13:20 +0000)]
2007-11-13  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5233
* ld-elf/flags1.d: New.
* ld-elf/flags1.ld: Likewise.
* ld-elf/flags1.s: Likewise.

17 years ago* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for...
Nick Clifton [Tue, 13 Nov 2007 10:40:29 +0000 (10:40 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation.
* elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries.
  (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted.
  When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region.
  Move align relocs forward if there is room for them after the deletion of the region.

17 years ago PR 5233
Alan Modra [Tue, 13 Nov 2007 05:56:10 +0000 (05:56 +0000)]
PR 5233
* elf.c (rewrite_elf_program_header): Formatting.  Add
first_matching_lma and first_suggested_lma booleans and use
instead of testing matching_lma and suggested_lma for zero.

17 years agoFrom Craig Silverstein: Support debug info for shared libraries.
Ian Lance Taylor [Tue, 13 Nov 2007 01:26:27 +0000 (01:26 +0000)]
From Craig Silverstein: Support debug info for shared libraries.

17 years agomerge from gcc
DJ Delorie [Tue, 13 Nov 2007 01:00:40 +0000 (01:00 +0000)]
merge from gcc

17 years ago * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
Joseph Myers [Tue, 13 Nov 2007 00:38:30 +0000 (00:38 +0000)]
* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
compiler warnings.
(floatformat_ibm_long_double): Use
floatformat_ibm_long_double_is_valid.

17 years ago*** empty log message ***
gdbadmin [Tue, 13 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Mon, 12 Nov 2007 23:00:04 +0000 (23:00 +0000)]
daily update

17 years ago * gas/macros/purge.s: Delete irpc loops.
Alan Modra [Mon, 12 Nov 2007 22:21:48 +0000 (22:21 +0000)]
* gas/macros/purge.s: Delete irpc loops.

17 years ago2007-11-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 12 Nov 2007 21:55:50 +0000 (21:55 +0000)]
2007-11-12  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5299
* peicode.h (pe_bfd_object_p): Save and restore previous bfd
state when calling coff_object_p.

17 years agoFrom Craig Silverstein: Dwarf_line_info can work with Object rather
Ian Lance Taylor [Mon, 12 Nov 2007 20:55:53 +0000 (20:55 +0000)]
From Craig Silverstein: Dwarf_line_info can work with Object rather
than Sized_relobj.

17 years agoFrom Craig Silverstein: Track_relocs doesn't need to hold onto the
Ian Lance Taylor [Mon, 12 Nov 2007 20:35:21 +0000 (20:35 +0000)]
From Craig Silverstein: Track_relocs doesn't need to hold onto the
object.

17 years agoFrom Craig Silverstein: rework DWARF reader code a bit.
Ian Lance Taylor [Mon, 12 Nov 2007 19:56:20 +0000 (19:56 +0000)]
From Craig Silverstein: rework DWARF reader code a bit.

17 years agoCorrect handling of GOT references in a regular object.
Ian Lance Taylor [Mon, 12 Nov 2007 17:51:55 +0000 (17:51 +0000)]
Correct handling of GOT references in a regular object.

17 years ago PR gas/5269
Nick Clifton [Mon, 12 Nov 2007 10:57:33 +0000 (10:57 +0000)]
PR gas/5269
* config/tc-frv.c (md_show_usage): Rewrite usage description to make it easier to translate.
* gas/po/gas.pot: Regenerate.

17 years ago2007-11-12 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Mon, 12 Nov 2007 06:47:56 +0000 (06:47 +0000)]
2007-11-12  Markus Deuling  <deuling@de.ibm.com>

* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
obsolete comment.
(verify_gdbarch, gdbarch_dump): Likewise.
(do_read): Update comment.
(addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
(ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
* gdbarch.{c,h}: Regenerate.

17 years ago2007-11-12 Markus Deuling <deuling@de.ibm.com>
Markus Deuling [Mon, 12 Nov 2007 06:43:16 +0000 (06:43 +0000)]
2007-11-12  Markus Deuling  <deuling@de.ibm.com>

* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
(ARGS_FIRST_REG): Remove.
(areg_numer): New function.
(xtensa_pseudo_register_read, xtensa_frame_prev_register)
(xtensa_extract_return_value, xtensa_store_return_value)
(xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
(AREG_NUMBER): Remove.
(XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
(xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
(xtensa_push_dummy_call): Update use of ARG_NOF.
(extract_call_winsize): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
(xtensa_extract_return_value, xtensa_store_return_value): Update call
of extract_call_winsize.

17 years ago * NEWS: Add entry for new set/show print frame-args command.
Joel Brobecker [Mon, 12 Nov 2007 05:21:39 +0000 (05:21 +0000)]
    * NEWS: Add entry for new set/show print frame-args command.

17 years agoFix date in the last entry.
Joel Brobecker [Mon, 12 Nov 2007 05:20:36 +0000 (05:20 +0000)]
Fix date in the last entry.

17 years ago * gdb.texinfo (Print Settings): Add documentation for "set/show
Joel Brobecker [Mon, 12 Nov 2007 05:19:17 +0000 (05:19 +0000)]
    * gdb.texinfo (Print Settings): Add documentation for "set/show
        print frame-arguments".

17 years ago * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol
Alan Modra [Mon, 12 Nov 2007 03:28:52 +0000 (03:28 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol
        pointer when we have a valid symbol.  Init udata.p to NULL.

17 years ago * gas/ppc/regnames.d: New.
Alan Modra [Mon, 12 Nov 2007 00:29:12 +0000 (00:29 +0000)]
* gas/ppc/regnames.d: New.
* gas/ppc/regnames.s: Likewise.
* gas/ppc/ppc.exp: Run it.

17 years ago * config/tc-ppc.c (md_assemble): If -mregnames, when parsing
Alan Modra [Mon, 12 Nov 2007 00:27:53 +0000 (00:27 +0000)]
* config/tc-ppc.c (md_assemble): If -mregnames, when parsing
PPC_OPERAND_CR always parse as expression to allow register name
followed by an expression.

17 years ago*** empty log message ***
gdbadmin [Mon, 12 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sun, 11 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 11 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Sat, 10 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sat, 10 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agoFrom Craig Silverstein: Initialize got_relocs.
Ian Lance Taylor [Fri, 9 Nov 2007 23:56:32 +0000 (23:56 +0000)]
From Craig Silverstein: Initialize got_relocs.

17 years ago * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
Kevin Buettner [Fri, 9 Nov 2007 23:38:51 +0000 (23:38 +0000)]
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
register number to map.  Adjust warning check and error/warning
return value code to match expectations of this function's callers.

17 years agoFrom Craig Silverstein: Clean up make rules for debug_msg.
Ian Lance Taylor [Fri, 9 Nov 2007 23:35:19 +0000 (23:35 +0000)]
From Craig Silverstein: Clean up make rules for debug_msg.

17 years agoFrom Craig Silverstein: Add test for debug messages.
Ian Lance Taylor [Fri, 9 Nov 2007 23:19:11 +0000 (23:19 +0000)]
From Craig Silverstein: Add test for debug messages.

17 years agoFrom Craig Silverstein: Implement section_info.
Ian Lance Taylor [Fri, 9 Nov 2007 23:18:16 +0000 (23:18 +0000)]
From Craig Silverstein: Implement section_info.

17 years agoFrom Craig Silverstein: Use relocations in reporting error message
Ian Lance Taylor [Fri, 9 Nov 2007 23:16:54 +0000 (23:16 +0000)]
From Craig Silverstein: Use relocations in reporting error message
locations.

17 years agodaily update
Alan Modra [Fri, 9 Nov 2007 23:00:06 +0000 (23:00 +0000)]
daily update

17 years ago * stack.c (print_this_frame_argument_p): Handle arguments passed
Joel Brobecker [Fri, 9 Nov 2007 20:38:58 +0000 (20:38 +0000)]
    * stack.c (print_this_frame_argument_p): Handle arguments passed
        by reference properly.

17 years agoFrom Cary Coutant: More shared library support, some refactorization.
Ian Lance Taylor [Fri, 9 Nov 2007 19:45:08 +0000 (19:45 +0000)]
From Cary Coutant: More shared library support, some refactorization.

17 years agoFix the date of my last changelog entry.
Joel Brobecker [Fri, 9 Nov 2007 19:08:43 +0000 (19:08 +0000)]
Fix the date of my last changelog entry.

17 years ago * stack.c (print_frame_arguments_choices): New static global.
Joel Brobecker [Fri, 9 Nov 2007 19:04:35 +0000 (19:04 +0000)]
    * stack.c (print_frame_arguments_choices): New static global.
        (print_frame_arguments): Likewise.
        (print_this_frame_argument_p): New function.
        (print_frame_args): Print the argument value only when appropriate.
        (_initialize_task): Add new "set/show print frame-arguments" command.

17 years ago * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
Luis Machado [Fri, 9 Nov 2007 17:15:17 +0000 (17:15 +0000)]
    * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
        saved_dabr_value assignment to the correct position.

17 years ago2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 9 Nov 2007 13:53:13 +0000 (13:53 +0000)]
2007-11-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (match_template): Re-order suffix check.

17 years ago2007-11-09 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand [Fri, 9 Nov 2007 13:11:17 +0000 (13:11 +0000)]
2007-11-09  Markus Deuling  <deuling@de.ibm.com>

* arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
* arch-utils.h (generic_convert_register_p): Likewise.

17 years ago * elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber
Nathan Sidwell [Fri, 9 Nov 2007 10:20:17 +0000 (10:20 +0000)]
* elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber
rel_hash.  Move loop inside if test.

17 years ago Apply delta accidentally omitted from 2007-11-05 commit.
Danny Smith [Fri, 9 Nov 2007 08:35:29 +0000 (08:35 +0000)]
Apply delta accidentally omitted from 2007-11-05 commit.
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text
 and .bss section use the default.

17 years agoFrom Cary Coutant: mark negative constant as unsigned.
Ian Lance Taylor [Fri, 9 Nov 2007 07:03:14 +0000 (07:03 +0000)]
From Cary Coutant: mark negative constant as unsigned.

17 years agoGenerate a complete exception frame header. Discard duplicate
Ian Lance Taylor [Fri, 9 Nov 2007 07:00:15 +0000 (07:00 +0000)]
Generate a complete exception frame header.  Discard duplicate
exception frame information.

17 years ago * gdbarch.sh (convert_register_p): Add gdbarch as parameter.
Markus Deuling [Fri, 9 Nov 2007 05:32:19 +0000 (05:32 +0000)]
* gdbarch.sh (convert_register_p): Add gdbarch as parameter.
* ia64-tdep.c (ia64_convert_register_p): Likewise.
* i387-tdep.c (i387_convert_register_p): Likewise.
* i387-tdep.h (i387_convert_register_p): Likewise.
* alpha-tdep.c (alpha_convert_register_p): Likewise.
* gdbarch.{c,h}: Regenerate.

* rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter.
Replace current_gdbarch by gdbarch.
* mips-tdep.c (mips_convert_register_p): Likewise.
* m68k-tdep.c (m68k_convert_register_p): Likewise.
* i386-tdep.c (i386_convert_register_p): Likewise.

17 years ago*** empty log message ***
gdbadmin [Fri, 9 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Thu, 8 Nov 2007 23:00:49 +0000 (23:00 +0000)]
daily update

17 years ago * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak
Hans-Peter Nilsson [Thu, 8 Nov 2007 22:12:27 +0000 (22:12 +0000)]
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Tweak
stack-pointer match pattern for 4K host environment.

17 years ago2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
Ulrich Weigand [Thu, 8 Nov 2007 21:04:47 +0000 (21:04 +0000)]
2007-11-08  Aleksandar Ristovski  <aristovski@qnx.com>

* gdb_string.h: Include <strings.h>.

17 years ago * breakpoint.c (break_command_1): Remove
Vladimir Prus [Thu, 8 Nov 2007 16:43:39 +0000 (16:43 +0000)]
* breakpoint.c (break_command_1): Remove
pending_bp parameter.
(create_breakpoint): Likewise.
(create_breakpoints): Likewise. Adjust call to
create_breakpoint.
(break_command_1): Likewise. Adjust call to
create_breakpoints.
(do_captured_breakpoint): Adjust call to
create_breakpoints.
(break_command, tbreak_command, hbreak_command)
(stopin_command, stopat_command): Adjust call
to break_command_1.

17 years ago * elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
Nathan Sidwell [Thu, 8 Nov 2007 13:57:44 +0000 (13:57 +0000)]
* elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
(elf_vxworks_finish_dynamic_entry): Declare.
* elf-vxworks.c: Include elf/vxworks.h.
(elf_vxworks_add_dynamic_entries): New.
(elf_vxworks_finish_dynamic_entry): New.
* Makefile.am (elf-vxworks.lo): Add dependency.
* Makefile.in (elf-vxworks.lo): Add dependency.
* elf32-i386.c (elf_i386_size_dynamic_sections,
elf_i386_finish_dynamic_sections): Call
elf_vxworks_add_dynamic_entries and
elf_vxworks_finish_dynamic_entry.
* elf32-ppc.c (ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections,
sparc_finish_dyn): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections,
sh_elf_finish_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elf32-arm.c (elf32_arm_size_dynamic_sections,
elf32_arm_finish_dynamic_sections): Likewise.

17 years ago include/elf/
Nathan Sidwell [Thu, 8 Nov 2007 13:51:07 +0000 (13:51 +0000)]
include/elf/
* vxworks.h: New.

bfd/
* elf-vxworks.h (elf_vxworks_add_dynamic_entries): Declare.
(elf_vxworks_finish_dynamic_entry): Declare.
* elf-vxworks.c: Include elf/vxworks.h.
(elf_vxworks_add_dynamic_entries): New.
(elf_vxworks_finish_dynamic_entry): New.
* Makefile.am (elf-vxworks.lo): Add dependency.
* Makefile.in (elf-vxworks.lo): Add dependency.
* elf32-i386.c (elf_i386_size_dynamic_sections,
elf_i386_finish_dynamic_sections): Call
elf_vxworks_add_dynamic_entries and
elf_vxworks_finish_dynamic_entry.
* elf32-ppc.c (ppc_elf_size_dynamic_sections,
ppc_elf_finish_dynamic_sections): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections,
sparc_finish_dyn): Likewise.
* elf32-sh.c (sh_elf_size_dynamic_sections,
sh_elf_finish_dynamic_sections): Likewise.
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections,
_bfd_mips_elf_finish_dynamic_sections): Likewise.
* elf32-arm.c (elf32_arm_size_dynamic_sections,
elf32_arm_finish_dynamic_sections): Likewise.

ld/
* ld-vxworks/tls-2.d: New.
* ld-vxworks/tls-2.s: New.

17 years ago * config/tc-xtensa.c (relaxable_section): Check for .eh_frame.
Bob Wilson [Thu, 8 Nov 2007 01:40:58 +0000 (01:40 +0000)]
    * config/tc-xtensa.c (relaxable_section): Check for .eh_frame.

17 years ago2007-11-07 Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Thu, 8 Nov 2007 00:10:06 +0000 (00:10 +0000)]
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align
struct values smaller than one doubleword; left-align those
larger.  Pass structs containing a single floating-point value in
registers.

17 years agoinclude:
Joseph Myers [Thu, 8 Nov 2007 00:08:48 +0000 (00:08 +0000)]
include:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* floatformat.h (struct floatformat): Add split_half field.
(floatformat_ibm_long_double): New.

libiberty:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* floatformat.c (mant_bits_set): New.
(floatformat_to_double): Use it.  Note no special handling of
split formats.
(floatformat_from_double): Note no special handing of split
formats.
(floatformat_ibm_long_double_is_valid,
floatformat_ibm_long_double): New.
(floatformat_ieee_single_big, floatformat_ieee_single_little,
floatformat_ieee_double_big, floatformat_ieee_double_little,
floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
floatformat_m68881_ext, floatformat_i960_ext,
floatformat_m88110_ext, floatformat_m88110_harris_ext,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
floatformat_ia64_spill_big, floatformat_ia64_spill_little,
floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
for addition of split_half field.

gdb:
2007-11-07  Joseph Myers  <joseph@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* gdbtypes.c (floatformats_ibm_long_double): New.
* gdbtypes.h (floatformats_ibm_long_double): Declare.
* ia64-tdep.c (floatformat_ia64_ext): Update for addition of
split_half field.
* mips-tdep.c (n32n64_floatformat_always_valid,
floatformat_n32n64_long_double_big, floatformats_n32n64_long):
Remove.
(mips_gdbarch_init): Use floatformats_ibm_long_double instead of
floatformats_n32n64_long.
* ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long
double.
* doublest.c (convert_floatformat_to_doublest,
convert_doublest_to_floatformat): Handle split floating-point
formats.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long
double arguments.
(ppc64_sysv_abi_push_dummy_call): Likewise.
(do_ppc_sysv_return_value): Handle IBM long double return.

17 years ago*** empty log message ***
gdbadmin [Thu, 8 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
Alan Modra [Wed, 7 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update

17 years agoFrom Craig Silverstein and Cary Coutant: fix assignment of section
Ian Lance Taylor [Wed, 7 Nov 2007 22:33:30 +0000 (22:33 +0000)]
From Craig Silverstein and Cary Coutant: fix assignment of section
indexes to sections which are not associated with segments.

17 years ago Fix crash when a variable object being deleted
Vladimir Prus [Wed, 7 Nov 2007 20:06:29 +0000 (20:06 +0000)]
Fix crash when a variable object being deleted
has any of its children deleted previously.

* varobj.c (delete_variable_1): Don't recurse
into deleted children.