]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
20 years ago*** empty log message ***
gdbadmin [Thu, 20 May 2004 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 20 May 2004 00:00:05 +0000 (00:00 +0000)] 
daily update

20 years ago * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
Joel Brobecker [Wed, 19 May 2004 21:50:14 +0000 (21:50 +0000)] 
    * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
        and pthread_cond_wait.c.

20 years ago * gdb.threads/pthread_cond_wait.c: New file.
Joel Brobecker [Wed, 19 May 2004 21:41:03 +0000 (21:41 +0000)] 
    * gdb.threads/pthread_cond_wait.c: New file.
        * gdb.threads/pthread_cond_wait.exp: New testcase.

20 years agoAdd code to cope with nested archives.
Nick Clifton [Wed, 19 May 2004 14:46:59 +0000 (14:46 +0000)] 
Add code to cope with nested archives.

20 years ago * NEWS: Mention new linker map file generation and the
Joern Rennecke [Wed, 19 May 2004 14:15:55 +0000 (14:15 +0000)] 
* NEWS: Mention new linker map file generation and the
--reduce-memory-overheads option.
* ld.texinfo: Document --reduce-memory-overheads option.
* ld.h (map_symbol_def): New struct.
(struct user_section_struct, section_userdata_type): Rename to:
(struct lean_user_section_struct, lean_section_userdata_type).
(struct fat_user_section_struct, fat_section_userdata_type): New.
(SECTION_USERDATA_SIZE): Define.
(args_type): New member reduce_memory_overheads.
* ldlang.c (map_obstack): New static variable.
(init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
(lang_map): Unless command_line.reduce_memory_overheads is set,
initialize lists of defined symbols for each section.
(print_input_section): Unless command_line.reduce_memory_overheads
is set, use print_all_symbols.
(init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
* ldmain.c (main): Initialize command_line.reduce_memory_overheads.
* lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
(ld_options): Add entry for --reduce-memory-overheads.
(parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.

20 years ago * ldgram.y (sect_constraint): New.
Jakub Jelinek [Wed, 19 May 2004 14:01:14 +0000 (14:01 +0000)] 
* ldgram.y (sect_constraint): New.
(ONLY_IF_RO, ONLY_IF_RW): New tokens.
(section): Add sect_constraint.  Pass additional argument
to lang_enter_output_section_statement.
* mri.c (mri_draw_tree): Pass additional argument to
lang_enter_output_section_statement.
* emultempl/pe.em (place_orphan): Likewise.
(output_prev_sec_find): Disregard output section statements with
constraint == -1.
* emultempl/mmo.em (output_prev_sec_find): Likewise.
(mmo_place_orphan): Pass additional argument to
lang_enter_output_section_statement.
* emultempl/elf32.em (output_prev_sec_find): Disregard output section
statements with constraint == -1.
(place_orphan): Pass additional argument to
lang_enter_output_section_statement.
* ldlang.c (lang_enter_overlay_section): Likewise.
(lang_output_section_find_1): New.
(lang_output_section_find): Use it.
(lang_output_section_statement_lookup_1): New.
(lang_output_section_statement_lookup): Use it.
(check_section_callback, check_input_sections): New.
(map_input_to_output_sections): Check if all input sections
are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
(strip_excluded_output_sections): Disregard output section statements
with constraint == -1.
(lang_record_phdrs): Likewise.
(lang_enter_output_section_statement): Add constraint argument.
Use lang_output_section_statement_lookup_1.
* ldlang.h (lang_output_section_statement_type): Add constraint
and all_input_readonly fields.
(lang_enter_output_section_statement): Adjust prototype.
* ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
* scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
segment if all input sections are readonly.

20 years agoRemove redundant file
Nick Clifton [Wed, 19 May 2004 10:00:50 +0000 (10:00 +0000)] 
Remove redundant file

20 years ago * ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
Alan Modra [Wed, 19 May 2004 05:11:48 +0000 (05:11 +0000)] 
* ppc-opc.c (insert_fxm): Enable two operand mfcr when -many as
well as when -mpower4.

20 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
Jim Blandy [Wed, 19 May 2004 04:18:42 +0000 (04:18 +0000)] 
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fields
before the mach-specific switch, and then let the individual cases
override the defaults, rather than leaving them uninitialized
until the switch and then setting them in each case.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 03:07:58 +0000 (03:07 +0000)] 
2004-05-18  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for
millicode functions.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:45:24 +0000 (02:45 +0000)] 
2004-05-18  Randolph Chung  <tausq@debian.org>

* somsolib.c (som_solib_remove_inferior_hook): Make all the size
references to dld_flags_buffer consistent.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:38:28 +0000 (02:38 +0000)] 
2004-05-18  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use
it for unwinding the stack.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:20:11 +0000 (02:20 +0000)] 
2004-05-18  Randolph Chung  <tausq@debian.org>

* config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE)
Undefine these so we can overide them using gdbarch.

20 years ago2004-05-18 Randolph Chung <tausq@debian.org>
Randolph Chung [Wed, 19 May 2004 02:15:22 +0000 (02:15 +0000)] 
2004-05-18  Randolph Chung <tausq@debian.org>

* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub
handling for 64-bit HPUX (elf).

20 years ago*** empty log message ***
gdbadmin [Wed, 19 May 2004 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 19 May 2004 00:00:05 +0000 (00:00 +0000)] 
daily update

20 years ago * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
Daniel Jacobowitz [Tue, 18 May 2004 21:20:28 +0000 (21:20 +0000)] 
* alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for large
constants.
* amd64-tdep.c (amd64_skip_prologue): Likewise.
* ia64-tdep.c (examine_prologue): Likewise.
* ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function.
* v850-tdep.c (v850_fix_call_dummy): Likewise.

20 years ago * dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
Daniel Jacobowitz [Tue, 18 May 2004 21:20:07 +0000 (21:20 +0000)] 
* dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
passing it to printf.

20 years ago * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
Daniel Jacobowitz [Tue, 18 May 2004 21:19:53 +0000 (21:19 +0000)] 
* Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.

20 years agoFixes for assembling with an ARM targeted version of GAS
Nick Clifton [Tue, 18 May 2004 16:18:56 +0000 (16:18 +0000)] 
Fixes for assembling with an ARM targeted version of GAS

20 years ago * Makefile.def, Makefile.tpl, configure.in: Remove all mention
Zack Weinberg [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)] 
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.

20 years agodaily update
Alan Modra [Tue, 18 May 2004 00:00:05 +0000 (00:00 +0000)] 
daily update

20 years ago*** empty log message ***
gdbadmin [Tue, 18 May 2004 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

20 years ago * ld.texinfo (Output Section Address): Correct subsection name.
Bob Wilson [Mon, 17 May 2004 22:48:55 +0000 (22:48 +0000)] 
    * ld.texinfo (Output Section Address): Correct subsection name.

20 years ago* vax-tdep.c (vax_return_value): Implement
Mark Kettenis [Mon, 17 May 2004 22:12:13 +0000 (22:12 +0000)] 
* vax-tdep.c (vax_return_value): Implement
RETURN_VALUE_ABI_RETURNS_ADDRESS.

20 years ago* vax-tdep.c (vax_return_value): Fix typo.
Mark Kettenis [Mon, 17 May 2004 21:56:19 +0000 (21:56 +0000)] 
* vax-tdep.c (vax_return_value): Fix typo.

* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.

20 years ago*** empty log message ***
gdbadmin [Mon, 17 May 2004 21:00:02 +0000 (21:00 +0000)] 
*** empty log message ***

20 years ago2004-05-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 17 May 2004 20:40:24 +0000 (20:40 +0000)] 
2004-05-17  Andrew Cagney  <cagney@redhat.com>

* MAINTAINERS: Mark Salter was also responsible for
testsuite/config/

20 years ago * elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
Bob Wilson [Mon, 17 May 2004 20:33:33 +0000 (20:33 +0000)] 
* elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
section names by inserting a new substring after .gnu.linkonce, except
for .gnu.linkonce.t.* where the "t." is replaced.

20 years agoAdd PowerPC LynxOS support
Nick Clifton [Mon, 17 May 2004 19:50:16 +0000 (19:50 +0000)] 
Add PowerPC LynxOS support

20 years ago2004-05-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 17 May 2004 19:16:07 +0000 (19:16 +0000)] 
2004-05-17  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention signal fixes.

20 years ago2004-05-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 May 2004 17:38:46 +0000 (17:38 +0000)] 
2004-05-17  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/frame.exp: New file. Test read-only .eh_frame and
.gcc_except_table sections.
* ld-elf/frame.s: Likewise.
* ld-elf/table.s: Likewise.
* ld-elf/tbss.s: Likewise.

20 years ago2004-05-17 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 17 May 2004 16:46:06 +0000 (16:46 +0000)] 
2004-05-17  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
check to see if we are unwinding an export stub.  Export stubs clobber
the %rp in the call path and stores the original rp in a stack slot.

20 years ago* MAINTAINERS: Update address for J.T. Conklin.
Jim Blandy [Mon, 17 May 2004 16:40:15 +0000 (16:40 +0000)] 
* MAINTAINERS: Update address for J.T. Conklin.

20 years agobinutils ChangeLog:
Bob Wilson [Mon, 17 May 2004 16:40:01 +0000 (16:40 +0000)] 
binutils ChangeLog:
2004-05-17  David Heine  <dlheine@tensilica.com>
* objcopy.c (setup_bfd_headers): New function.
(copy_object): Call setup_bfd_headers.
bfd ChangeLog:
2004-05-17  David Heine  <dlheine@tensilica.com>
* aout-target.h (MY_bfd_copy_private_header_data): Define.
* aout-tic30.c (MY_bfd_copy_private_header_data): Define.
* bfd.c (bfd_copy_private_header_data): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new
interface.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_copy_private_header_data): Define.
* elf-bfd.h (_bfd_elf_copy_private_header_data): Declare.
* elf.c (_bfd_elf_copy_private_section_data): Remove code to set up
segments by calling copy_private_bfd_data.
(_bfd_elf_copy_private_header_data): Define.
* elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define.
* libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define.
* libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define.
* mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define.
* mmo.c (mmo_bfd_copy_private_header_data): Define.
* ppcboot.c (ppcboot_bfd_copy_private_header_data): Define.
* som.c (som_bfd_copy_private_header_data): Define.
* targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data.
* vms.c (vms_bfd_copy_private_header_data): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

20 years ago2004-05-17 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 17 May 2004 15:16:39 +0000 (15:16 +0000)] 
2004-05-17  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c: Remove superfluous #include's.
* Makefile.in (hppa-tdep.o): Update dependencies.

20 years ago2004-05-17 Randolph Chung <tausq@debian.org>
Randolph Chung [Mon, 17 May 2004 14:59:16 +0000 (14:59 +0000)] 
2004-05-17  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
(THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
(unwind_command, hppa_alignof, prologue_inst_adjust_sp)
(is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
(read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
Remove static function declarations.

20 years ago * gprof.texi (Output Options): Correct last patch to use @itemx, not
Ben Elliston [Mon, 17 May 2004 11:20:29 +0000 (11:20 +0000)] 
* gprof.texi (Output Options): Correct last patch to use @itemx, not
@item, for options with long option alternatives.

20 years ago* m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
Mark Kettenis [Mon, 17 May 2004 10:50:32 +0000 (10:50 +0000)] 
* m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
and M68K_A2_REGNUM.

20 years ago * gprof.texi (Introduction): Update synopsis.
Ben Elliston [Mon, 17 May 2004 05:04:27 +0000 (05:04 +0000)] 
* gprof.texi (Introduction): Update synopsis.
(Output Options): Document -r and -R.
(Analysis Options): Document -t, --table-length.
(Miscellaneous Options): Document -h, --help.

20 years agodaily update
Alan Modra [Mon, 17 May 2004 00:00:08 +0000 (00:00 +0000)] 
daily update

20 years ago* m68k-tdep.c (m68k_svr4_return_value): Implement
Mark Kettenis [Sun, 16 May 2004 23:04:15 +0000 (23:04 +0000)] 
* m68k-tdep.c (m68k_svr4_return_value): Implement
RETURN_VALUE_ABI_RETURNS_ADDRESS.

20 years ago* sol-thread.c Update copyright year. Fix various coding
Mark Kettenis [Sun, 16 May 2004 13:28:03 +0000 (13:28 +0000)] 
* sol-thread.c Update copyright year.  Fix various coding
standards violations.  Tweak a few comments.
(td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
Delete prototypes.

20 years ago2004-05-15 Randolph Chung <tausq@debian.org>
Randolph Chung [Sun, 16 May 2004 04:33:41 +0000 (04:33 +0000)] 
2004-05-15  Randolph Chung  <tausq@debian.org>

* hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
as pointer instead of array reference since HPUX compiler does
not accept unsized array arguments.
* somsolib.c (dld_flags_buffer): Use constant array size.

20 years agodaily update
Alan Modra [Sun, 16 May 2004 00:00:06 +0000 (00:00 +0000)] 
daily update

20 years ago* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
Mark Kettenis [Sat, 15 May 2004 21:06:50 +0000 (21:06 +0000)] 
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
offset with decimal offset.
(amd64obsd_sigcontext_addr): Return correct address for entire
signal trampoline.

20 years ago * elfxx-mips.c (MINUS_TWO): Define.
Thiemo Seufer [Sat, 15 May 2004 18:58:05 +0000 (18:58 +0000)] 
* elfxx-mips.c (MINUS_TWO): Define.
(mips_elf_higher, mips_elf_highest,
mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for
some bfd_vma values.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup.

20 years ago* vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
Mark Kettenis [Sat, 15 May 2004 17:11:48 +0000 (17:11 +0000)] 
* vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
instead of get_frame_base.

20 years ago* i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
Mark Kettenis [Sat, 15 May 2004 17:04:10 +0000 (17:04 +0000)] 
* i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
(fill_gregset): Use regcache_raw_collect.

20 years ago* config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
Mark Kettenis [Sat, 15 May 2004 17:02:09 +0000 (17:02 +0000)] 
* config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
ppcobsd-tdep.c.

20 years ago*** empty log message ***
Mark Kettenis [Sat, 15 May 2004 17:00:30 +0000 (17:00 +0000)] 
*** empty log message ***

20 years ago* config/sparc/tm-nbsd64.h: Remove file.
Mark Kettenis [Sat, 15 May 2004 16:47:30 +0000 (16:47 +0000)] 
* config/sparc/tm-nbsd64.h: Remove file.
* config/tm-sunos.h: Remove file.

20 years agoCope with ARM mapping symbols
Nick Clifton [Sat, 15 May 2004 14:09:08 +0000 (14:09 +0000)] 
Cope with ARM mapping symbols

20 years agoMake 'insn' argument of iq2000_cgen_insn_supported be const.
Nick Clifton [Sat, 15 May 2004 13:10:30 +0000 (13:10 +0000)] 
Make 'insn' argument of iq2000_cgen_insn_supported be const.

20 years ago * rs6000-tdep.c (store_param_on_stack_p): New function,
Joel Brobecker [Sat, 15 May 2004 05:57:16 +0000 (05:57 +0000)] 
    * rs6000-tdep.c (store_param_on_stack_p): New function,
        an improved version of some code extracted from skip_prologue().
        (skip_prologue): Use store_param_on_stack_p() to detect
        instructions saving a parameter on the stack. Detect when r0
        is used to save a parameter.
        Do not mark "li rx, SIMM" instructions as part of the prologue,
        unless the following instruction is also part of the prologue.

20 years agodaily update
Alan Modra [Sat, 15 May 2004 00:00:06 +0000 (00:00 +0000)] 
daily update

20 years ago2004-05-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 14 May 2004 18:45:42 +0000 (18:45 +0000)] 
2004-05-14  Andrew Cagney  <cagney@redhat.com>

* infrun.c (handle_inferior_event): Simplify
STEP_OVER_UNDEBUGGABLE.

20 years ago * som.c (log2): Rename to exact_log2. Adjust all callers.
Dave Anglin [Fri, 14 May 2004 17:42:47 +0000 (17:42 +0000)] 
* som.c (log2): Rename to exact_log2.  Adjust all callers.

20 years ago2004-05-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 14 May 2004 15:49:00 +0000 (15:49 +0000)] 
2004-05-14  Andrew Cagney  <cagney@redhat.com>

* infrun.c (handle_step_into_function): Delete function.
(handle_inferior_event): Inline calls to
handle_step_into_function.

20 years ago * rs6000-nat.c: Fix a comment.
Jerome Guitton [Fri, 14 May 2004 14:12:12 +0000 (14:12 +0000)] 
* rs6000-nat.c: Fix a comment.

20 years agoCommitted by Jim Blandy <jimb@redhat.com>:
Jim Blandy [Fri, 14 May 2004 07:17:45 +0000 (07:17 +0000)] 
Committed by Jim Blandy <jimb@redhat.com>:
* regcache.c (struct regcache_descr): fix comment spelling.

20 years agodaily update
Alan Modra [Fri, 14 May 2004 00:32:17 +0000 (00:32 +0000)] 
daily update

20 years ago * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
Joel Brobecker [Thu, 13 May 2004 22:55:32 +0000 (22:55 +0000)] 
    * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
        Fixes a link link failure.

20 years ago * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
Joel Brobecker [Thu, 13 May 2004 22:31:53 +0000 (22:31 +0000)] 
    * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
        error that was causing the build to fail.

20 years ago * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
Joel Brobecker [Thu, 13 May 2004 22:26:39 +0000 (22:26 +0000)] 
    * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
        * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.

20 years ago* aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
Jim Blandy [Thu, 13 May 2004 19:36:05 +0000 (19:36 +0000)] 
* aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
(fetch_regs_user_thread, fetch_regs_kernel_thread)
(store_regs_user_thread, store_regs_kernel_thread): Use
ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
* ppc-linux-nat.c (fill_gregset): Same.
* ppc-linux-tdep.c (ppc_linux_supply_gregset)
(ppc_linux_sigtramp_cache): Same.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg)
(ppcnbsd_sigtramp_cache_init): Same.
* rs6000-nat.c (fetch_core_registers): Same.
* rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
(rs6000_frame_cache): Same.

20 years ago2004-05-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 13 May 2004 19:34:00 +0000 (19:34 +0000)] 
2004-05-13  Andrew Cagney  <cagney@redhat.com>

* infrun.c (handle_inferior_event): Check for
STEP_OVER_UNDEBUGGABLE after signal trampolines and function
calls.  Update comments.

20 years ago* aix-thread.c (supply_gprs64, fetch_regs_user_thread)
Jim Blandy [Thu, 13 May 2004 19:27:07 +0000 (19:27 +0000)] 
* aix-thread.c (supply_gprs64, fetch_regs_user_thread)
(store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
of assuming that the gprs are numbered starting with zero.
* ppc-linux-nat.c (fill_gregset): Same.
* ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
* ppcnbsd-nat.c (getregs_supplies): Same.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
* rs6000-nat.c (fetch_core_registers): Same.
* rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.

20 years ago2004-05-07 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 13 May 2004 19:09:30 +0000 (19:09 +0000)] 
2004-05-07  Michael Snyder  <msnyder@redhat.com>

        * tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
        LOC_COMPUTED_ARG, and LOC_INDIRECT.

20 years ago2004-05-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 13 May 2004 18:42:29 +0000 (18:42 +0000)] 
2004-05-13  Andrew Cagney  <cagney@redhat.com>

* infrun.c (handle_inferior_event): Use frame_unwind_id.

Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.159
diff -p -u -r1.159 infrun.c
--- infrun.c 13 May 2004 16:39:11 -0000 1.159
+++ infrun.c 13 May 2004 18:37:09 -0000
@@ -2437,7 +2437,7 @@ process_event_stop_test:
       return;
     }

-  if (frame_id_eq (get_frame_id (get_prev_frame (get_current_frame ())),
+  if (frame_id_eq (frame_unwind_id (get_current_frame ()),
                    step_frame_id))
     {
       /* It's a subroutine call.  */

20 years agomerge from gcc
DJ Delorie [Thu, 13 May 2004 18:14:28 +0000 (18:14 +0000)] 
merge from gcc

20 years ago2004-05-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 13 May 2004 18:12:07 +0000 (18:12 +0000)] 
2004-05-13  Andrew Cagney  <cagney@redhat.com>

* gdb.base/signull.exp, gdb.base/signull.c: New files.
* gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.

20 years ago2004-05-13 Bryce McKinlay <mckinlay@redhat.com>
Bryce McKinlay [Thu, 13 May 2004 17:30:41 +0000 (17:30 +0000)] 
2004-05-13  Bryce McKinlay  <mckinlay@redhat.com>

* dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
base_address for shared libraries.

20 years ago2004-05-13 Bryce McKinlay <mckinlay@redhat.com>
Bryce McKinlay [Thu, 13 May 2004 17:30:02 +0000 (17:30 +0000)] 
2004-05-13  Bryce McKinlay  <mckinlay@redhat.com>

* MAINTAINERS (write after approval): Add myself.

20 years ago * breakpoint.c (bpstat_stop_status): Add new argument
Ulrich Weigand [Thu, 13 May 2004 16:39:11 +0000 (16:39 +0000)] 
* breakpoint.c (bpstat_stop_status): Add new argument
STOPPED_BY_WATCHPOINT.  Use it instead of testing
target_stopped_data_address agaist 0 to check whether
or not we stopped due to a hardware watchpoint.
* breakpoint.h (bpstat_stop_status): Adapt prototype.
* infrun.c (handle_inferior_event): Call bpstat_stop_status
with new argument.

20 years agoRemove comment rendered obsolete by previous delta
Nick Clifton [Thu, 13 May 2004 15:16:00 +0000 (15:16 +0000)] 
Remove comment rendered obsolete by previous delta

20 years agofix typo in file name
Nick Clifton [Thu, 13 May 2004 14:49:49 +0000 (14:49 +0000)] 
fix typo in file name

20 years agoHandle dwarf3 format CIE entries.
Nick Clifton [Thu, 13 May 2004 14:41:18 +0000 (14:41 +0000)] 
Handle dwarf3 format CIE entries.

20 years agoChange or32-rtems target from COFF to ELF format
Nick Clifton [Thu, 13 May 2004 14:12:27 +0000 (14:12 +0000)] 
Change or32-rtems target from COFF to ELF format

20 years agoUpdated French translations
Nick Clifton [Thu, 13 May 2004 12:54:36 +0000 (12:54 +0000)] 
Updated French translations

20 years agodaily update
Alan Modra [Thu, 13 May 2004 00:00:05 +0000 (00:00 +0000)] 
daily update

20 years ago* configure.in: When checking whether we should use the -bbigtoc
Jim Blandy [Wed, 12 May 2004 23:14:49 +0000 (23:14 +0000)] 
* configure.in: When checking whether we should use the -bbigtoc
option, don't forget to restore the original value of LDFLAGS.
* configure: Regenerated.

20 years ago2004-05-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 12 May 2004 22:19:02 +0000 (22:19 +0000)] 
2004-05-12  Andrew Cagney  <cagney@redhat.com>

* thread.c (load_infrun_state): Delete step_sp.
* infrun.c (context_switch): Ditto.
* inferior.h (step_sp): Ditto.
* infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
* gdbthread.h (struct thread_info, save_infrun_state)
(restore_infrun_state): Ditto.

20 years ago * MAINTAINERS (write after approval): Add myself.
Ulrich Weigand [Wed, 12 May 2004 20:16:52 +0000 (20:16 +0000)] 
* MAINTAINERS (write after approval): Add myself.

20 years ago2004-05-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 12 May 2004 18:08:38 +0000 (18:08 +0000)] 
2004-05-12  Andrew Cagney  <cagney@redhat.com>

* infrun.c (adjust_pc_after_break): Rewrite decr logic,
eliminate reference to step_sp.
(struct execution_control_state, init_execution_control_state)
(handle_inferior_event, keep_going): Delete update_step_sp and
step_sp.
* infcmd.c (step_sp): Note that variable is unused.

20 years ago * ld-sh/tlsbin-2.d: Adjust for section reordering changes
Kaz Kojima [Wed, 12 May 2004 05:58:09 +0000 (05:58 +0000)] 
* ld-sh/tlsbin-2.d: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sh/tlsbin-3.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.

20 years ago * lib/sim-defs.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:34:26 +0000 (03:34 +0000)] 
* lib/sim-defs.exp: Remove stray semicolons.

20 years ago * binutils-all/ar.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:28:46 +0000 (03:28 +0000)] 
* binutils-all/ar.exp: Remove stray semicolons.
* binutils-all/dlltool.exp: Likewise.
* binutils-all/objcopy.exp: Likewise.
* binutils-all/readelf.exp: Likewise.
* binutils-all/windres/windres.exp: Likewise.
* lib/utils-lib.exp: Likewise.

20 years ago * ld-sh/sh64/relax.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:08:09 +0000 (03:08 +0000)] 
* ld-sh/sh64/relax.exp: Remove stray semicolons.
* ld-sh/sh64/relfail.exp: Likewise.
* lib/ld-lib.exp: Likewise.

20 years ago * gas/h8300/t03_add.exp: Remove stray semicolons.
Ben Elliston [Wed, 12 May 2004 03:06:10 +0000 (03:06 +0000)] 
* gas/h8300/t03_add.exp: Remove stray semicolons.
* gas/h8300/t04_sub.exp: Likewise.
* gas/h8300/t05_cmp.exp: Likewise.
* gas/h8300/t08_or.exp: Likewise.
* gas/h8300/t09_xor.exp: Likewise.
* gas/h8300/t10_and.exp: Likewise.
* gas/hppa/reloc/reloc.exp: Likewise.
* gas/hppa/unsorted/unsorted.exp: Likewise.
* gas/i386/i386.exp: Likewise.
* gas/m68hc11/m68hc11.exp: Likewise.
* gas/mips/mips.exp: Likewise.
* gas/sparc/sparc.exp: Likewise.
* lib/gas-defs.exp: Likewise.

20 years ago2004-05-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Chris Demetriou [Wed, 12 May 2004 01:42:33 +0000 (01:42 +0000)] 
2004-05-11  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

        * mips/interp.c (decode_coproc): Sign-extend the address retrieved
        from COP0_BADVADDR.
        * mips/sim-main.h (COP0_BADVADDR): Remove a cast.

20 years ago2004-05-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 11 May 2004 23:30:31 +0000 (23:30 +0000)] 
2004-05-11  Andrew Cagney  <cagney@redhat.com>

* infrun.c (step_over_function): Delete function.
(handle_step_into_function): Use insert_step_resume_breakpoint.
(insert_step_resume_breakpoint): Fix assertion.

20 years ago(defaulted_query): Just use the normal query input type when printing the
Nick Roberts [Tue, 11 May 2004 19:19:34 +0000 (19:19 +0000)] 
(defaulted_query): Just use the normal query input type when printing the
annotations.

20 years ago*** empty log message ***
Nick Roberts [Tue, 11 May 2004 19:18:32 +0000 (19:18 +0000)] 
*** empty log message ***

20 years agobfd/
Jakub Jelinek [Tue, 11 May 2004 17:08:38 +0000 (17:08 +0000)] 
bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
into .dynsym if elf_section_data (sec)->dynindx <= 0.
Adjust counting of last_local.
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
created by the linker nor !SHF_ALLOC.

* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.  Set sh_entsize for .got section in addition
to .got.plt.
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.  Set sh_entsize for .got section
in addition to .got.plt.
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Likewise.
(assign_file_positions_for_segments): Likewise.
(get_program_header_size): Likewise.
* elflink.c (bfd_elf_size_dynamic_sections): Set
elf_tdata (output_bfd)->relro from info->relro.
* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
relro_end fields.
* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
(PT_GNU_RELRO): Define.
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
* genscripts.sh: Generate -z combreloc -z now -z relro scripts
for binaries, -shared and -pie.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
(OTHER_RELRO_SECTIONS): ... this.
* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z relro and -z norelro.
(gld${EMULATION_NAME}_list_options): Add it to usage.
(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
-z relro scripts when appropriate.
* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
Create separate .got.plt section if SEPARATE_GOTPLT.
Move sections which are only written during relocation handling
to the beginning of RW segment.  If NO_SMALL_DATA, move .got
before .data.  Add DATA_SEGMENT_RELRO_END directive.
Include OTHER_RELRO_SECTIONS.
* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
(fold_unary): Likewise.
(fold_binary): Handle -z relro.
* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
exp_dataseg_relro_adjust phases.  Add relro_end field.
* ldmain.c (main): Initialize link_info.relro to FALSE.
* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
* ld-i386/tlspic.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbinpic.s: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic1.s: Likewise.
* ld-i386/combreloc.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-s390/tlspic1.s: Likewise.
* ld-s390/tlsbinpic.s: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin.sd: Likewise.
* ld-s390/tlsbin.td: Likewise.
* ld-s390/tlspic.sd: Likewise.
* ld-s390/tlspic.td: Likewise.
* ld-s390/tlspic1_64.s: Likewise.
* ld-s390/tlsbinpic_64.s: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic_64.sd: Likewise.
* ld-s390/tlspic_64.td: Likewise.
* ld-s390/tlsbin_64.td: Likewise.
* ld-s390/tlsbin_64.sd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
* ld-shared/shared.exp: Likewise.

20 years ago2004-05-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 11 May 2004 16:57:04 +0000 (16:57 +0000)] 
2004-05-11  Andrew Cagney  <cagney@redhat.com>

* infrun.c (handle_inferior_event): Simplify code handling
step-into or return-from a signal trampoline.

Index: testsuite/ChangeLog
2004-05-11  Andrew Cagney  <cagney@redhat.com>

* gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
fixed but revealed gdb/1639.

20 years ago2004-05-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 11 May 2004 16:16:29 +0000 (16:16 +0000)] 
2004-05-11  Andrew Cagney  <cagney@redhat.com>

* ppcnbsd-tdep.c: Include "gdb_assert.h".
* Makefile.in (ppcnbsd-tdep.o): Update dependencies.

20 years agoApply H.J.'s patch to fix label arithmetic when multiple same-name sections are involved
Nick Clifton [Tue, 11 May 2004 15:53:47 +0000 (15:53 +0000)] 
Apply H.J.'s patch to fix label arithmetic when multiple same-name sections are involved

20 years ago* ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
Jim Blandy [Tue, 11 May 2004 06:12:55 +0000 (06:12 +0000)] 
* ppc-bdm.c (bdm_ppc_fetch_registers): Replace utterly broken code
with a call to internal_error.