Alan Modra [Sat, 22 May 2004 01:56:31 +0000 (01:56 +0000)]
* merge.c (_bfd_merged_section_offset): Remove "addend" param.
* libbfd-in.h (_bfd_merged_section_offset): Adjust prototype.
* libbfd.h: Regenerate.
* elf.c (_bfd_elf_rela_local_sym): Adjust call.
(_bfd_elf_rel_local_sym): Likewise.
* elflink.c (_bfd_elf_link_sec_merge_syms): Likewise.
(elf_link_input_bfd): Likewise.
* elf32-ppc.c (ppc_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
(elfNN_ia64_relocate_section): Likewise.
gdbadmin [Sat, 22 May 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 22 May 2004 00:00:10 +0000 (00:00 +0000)]
daily update
Jim Blandy [Fri, 21 May 2004 23:30:48 +0000 (23:30 +0000)]
* ppc-linux-nat.c (fetch_register): Move code back to be next
to the comment that describes it. (Moved code, instead of
comment, for symmetry with store_register.)
Jim Blandy [Fri, 21 May 2004 22:15:10 +0000 (22:15 +0000)]
Allocate regset structures in the gdbarch's obstack, not using
xmalloc.
* regset.c (regset_alloc): Renamed from regset_xmalloc.
Add 'arch' argument. Allocate the regset on arch's obstack, not
using xmalloc.
* regset.h (regset_alloc): Update declaration.
* am64-tdep.c (amd64_regset_from_core_section): Update call; pass
gdbarch argument.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
Paolo Bonzini [Fri, 21 May 2004 19:08:54 +0000 (19:08 +0000)]
2004-05-21 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl: Whenever a recursive target is defined, wrap
it in a special @if/@endif block, and prepare its maybe
dependency in the @if/@endif block
* configure.in: Instead of writing maybe dependencies, remove
the @if/@endif statements, and remove the @if/@endif blocks
that remain.
* configure: Regenerate.
* Makefile.in: Regenerate.
Joel Brobecker [Fri, 21 May 2004 17:27:01 +0000 (17:27 +0000)]
* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
GDB prompt.
Joel Brobecker [Fri, 21 May 2004 17:23:32 +0000 (17:23 +0000)]
* config/djgpp/fnchange.lst: Undo previous change, was useless.
Andrew Cagney [Fri, 21 May 2004 16:04:03 +0000 (16:04 +0000)]
2004-05-21 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Document "inferior_created".
Nick Clifton [Fri, 21 May 2004 15:38:04 +0000 (15:38 +0000)]
Add --hash-size switch to the linker
Mark Kettenis [Fri, 21 May 2004 14:56:07 +0000 (14:56 +0000)]
* libaout.h (machine_type): Add M_88K_OPENBSD and M_HPPA_OPENBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for alpha,
arm, m68k, m88k and hppa core files.
Nick Clifton [Fri, 21 May 2004 13:12:27 +0000 (13:12 +0000)]
Do not use iovec if it is NULL.
Jim Blandy [Fri, 21 May 2004 07:50:03 +0000 (07:50 +0000)]
* dwarf2expr.c (execute_stack_op): Add 'break' statements after
cases for DW_OP_div and DW_OP_shr. (Thanks to Reva Cuthbertson.)
Ben Elliston [Fri, 21 May 2004 01:58:03 +0000 (01:58 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Comment correction.
gdbadmin [Fri, 21 May 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 21 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Thu, 20 May 2004 22:26:21 +0000 (22:26 +0000)]
2004-05-20 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/dv-srlz.d: Fix a typo.
Jim Blandy [Thu, 20 May 2004 18:49:37 +0000 (18:49 +0000)]
* rs6000-tdep.c (rs6000_push_dummy_call): Formatting fixes.
Mark Kettenis [Thu, 20 May 2004 17:47:55 +0000 (17:47 +0000)]
* regset.h: Make prototype const-correct.
* regset.c (regset_xmalloc): Make const-correct.
Ulrich Weigand [Thu, 20 May 2004 14:58:54 +0000 (14:58 +0000)]
* gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
setjmp/longjmp. Use sigaction instead of signal.
Richard Sandiford [Thu, 20 May 2004 10:10:43 +0000 (10:10 +0000)]
* config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
dwarf tables.
Paul N. Hilfinger [Thu, 20 May 2004 09:51:34 +0000 (09:51 +0000)]
* symtab.h (SYMBOL_SEARCH_NAME): New definition.
(SYMBOL_MATCHES_SEARCH_NAME): New definition.
(symbol_search_name): Declare.
* dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
(iter_name_next_hashed): Ditto.
(iter_name_next_linear): Ditto.
(insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.
* symtab.c (lookup_partial_symbol): Assume symbols ordered by
search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
(symbol_search_name): New function.
* symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.
* minsyms.c (build_minimal_symbol_hash_tables): Change
test for adding to demangled hash table to check for difference
between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
Jim Blandy [Thu, 20 May 2004 00:56:45 +0000 (00:56 +0000)]
Fix up last ChangeLog commit.
Jim Blandy [Thu, 20 May 2004 00:53:06 +0000 (00:53 +0000)]
Use a constructor function to create regset structures.
* regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs.
(struct regset): Use supply_regset_ftype. Add new
'collect_regset' member.
(regset_xmalloc): New declaration.
* regset.c: New file.
* am64-tdep.c (amd64_regset_from_core_section): Use
regset_xmalloc to construct regset structures.
* amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same.
* i386-tdep.c (i386_regset_from_core_section): Same.
* i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same.
* i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same.
* sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same.
* sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same.
* sparc64obsd-tdep.c (sparc64obsd_init_abi): Same.
* sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same.
* Makefile.in (COMMON_OBS): Add regset.o.
(regset.o): New rule.
gdbadmin [Thu, 20 May 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 20 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
Nick Clifton [Wed, 19 May 2004 14:46:59 +0000 (14:46 +0000)]
Add code to cope with nested archives.
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.
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.
Nick Clifton [Wed, 19 May 2004 10:00:50 +0000 (10:00 +0000)]
Remove redundant file
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.
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.
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.
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.
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.
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.
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).
gdbadmin [Wed, 19 May 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 19 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update
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.
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.
Daniel Jacobowitz [Tue, 18 May 2004 21:19:53 +0000 (21:19 +0000)]
* Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
Nick Clifton [Tue, 18 May 2004 16:18:56 +0000 (16:18 +0000)]
Fixes for assembling with an ARM targeted version of GAS
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.
Alan Modra [Tue, 18 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 18 May 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Mon, 17 May 2004 22:48:55 +0000 (22:48 +0000)]
* ld.texinfo (Output Section Address): Correct subsection name.
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.
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.
gdbadmin [Mon, 17 May 2004 21:00:02 +0000 (21:00 +0000)]
*** empty log message ***
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/
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.
Nick Clifton [Mon, 17 May 2004 19:50:16 +0000 (19:50 +0000)]
Add PowerPC LynxOS support
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.
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.
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.
Jim Blandy [Mon, 17 May 2004 16:40:15 +0000 (16:40 +0000)]
* MAINTAINERS: Update address for J.T. Conklin.
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.
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.
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.
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.
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.
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.
Alan Modra [Mon, 17 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update
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.
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.
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.
Alan Modra [Sun, 16 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
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.
Mark Kettenis [Sat, 15 May 2004 17:00:30 +0000 (17:00 +0000)]
*** empty log message ***
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.
Nick Clifton [Sat, 15 May 2004 14:09:08 +0000 (14:09 +0000)]
Cope with ARM mapping symbols
Nick Clifton [Sat, 15 May 2004 13:10:30 +0000 (13:10 +0000)]
Make 'insn' argument of iq2000_cgen_insn_supported be const.
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.
Alan Modra [Sat, 15 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update
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.
Dave Anglin [Fri, 14 May 2004 17:42:47 +0000 (17:42 +0000)]
* som.c (log2): Rename to exact_log2. Adjust all callers.
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.
Jerome Guitton [Fri, 14 May 2004 14:12:12 +0000 (14:12 +0000)]
* rs6000-nat.c: Fix a comment.
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.
Alan Modra [Fri, 14 May 2004 00:32:17 +0000 (00:32 +0000)]
daily update
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.
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.
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.
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.
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.
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.
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.
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. */
DJ Delorie [Thu, 13 May 2004 18:14:28 +0000 (18:14 +0000)]
merge from gcc
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.
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.
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.
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.