gdbadmin
6502566e6e
*** empty log message ***
2005-05-04 00:00:04 +00:00
Alan Modra
698527983f
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
...
list traversal. Use bfd_section_list_prepend.
* config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
over the section list.
* config/tc-xtensa.c (xtensa_remove_section): Delete.
(xtensa_insert_section): Delete.
(xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
and bfd_section_list_prepend.
(xtensa_reorder_seg_list): Use bfd_section_list_remove and
bfd_section_list_insert_after.
2005-05-03 17:08:43 +00:00
Alan Modra
04dd166740
* section.c (bfd_section_list_remove): Don't clear s->next.
...
(bfd_section_list_append): Always init s->prev.
(bfd_section_list_prepend): Define.
(bfd_section_list_insert_after): Minor optimization.
(bfd_section_removed_from_list): Rewrite.
* elf.c (assign_section_numbers): Simplify list traversal now that
bfd_section_list_remove doesn't destroy removed section next ptr.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Use bfd_section_list_prepend.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Simplify list traversal.
* bfd-in2.h: Regenerate.
2005-05-03 17:05:51 +00:00
Nick Clifton
c1d05a606c
* config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations of bfd_section_list... macros.
...
* config/tc-mmix.c (mmix_frob_file): Likewise.
* config/tc-xtensa.c (xtensa_remove_section): Likewise.
(xtensa_insert_section): Likewise.
* macro.c (macro_hash): Remove static.
* macro.h (macro_hash): Provide an external declaration.
2005-05-03 12:02:47 +00:00
H.J. Lu
e02b83d7f4
Regenerated.
2005-05-03 01:09:45 +00:00
H.J. Lu
5daa8fe797
bfd/
...
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* bfd.c (bfd): Remove section_tail and add section_last.
(bfd_preserve): Likewise.
(bfd_preserve_save): Likewise.
(bfd_preserve_restore): Likewise.
* opncls.c (_bfd_new_bfd): Likewise.
* coffcode.h (coff_compute_section_file_positions): Updated.
(coff_compute_section_file_positions): Likewise.
* elf.c (assign_section_numbers): Likewise.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf64-mmix.c (mmix_elf_final_link): Likewise.
* elfxx-ia64.c (elfNN_ia64_object_p): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* sunos.c (sunos_add_dynamic_symbols): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Likewise.
* ecoff.c (bfd_debug_section): Initialize prev.
* section.c (bfd_section): Add prev.
(bfd_section_list_remove): Updated.
(bfd_section_list_append): New.
(bfd_section_list_insert_after): New.
(bfd_section_list_insert_before): New.
(bfd_section_list_insert): Removed.
(bfd_section_removed_from_list): Updated.
(STD_SECTION): Initialize prev.
(bfd_section_init): Updated.
(bfd_section_list_clear): Updated.
* bfd-in2.h: Regenerated.
gas/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* write.c (write_object_file): Use bfd_section_double_list_remove
to remove sections.
ld/
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
Updated for bfd_section_list_remove change.
* ldlang.c (lang_insert_orphan): Likewise.
(strip_excluded_output_sections): Likewise.
(sort_sections_by_lma): New.
(lang_check_section_addresses): Sort the sections before
checking addresses.
2005-05-03 01:05:03 +00:00
Paul Gilliam
3c95e6af3b
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-03 00:41:49 +00:00
Alan Modra
b7be4033a1
daily update
2005-05-03 00:00:05 +00:00
gdbadmin
a798f6e0c2
*** empty log message ***
2005-05-03 00:00:02 +00:00
Ben Elliston
8bbde30215
* infrun.c (handle_inferior_event): Update the comment about users
...
of stepped_after_stopped_by_watchpoint.
2005-05-02 23:56:36 +00:00
Ben Elliston
27eed06bc2
* dlltool.c (dtab): Remove empty function.
...
(process_duplicates): Remove calls to dtab().
2005-05-02 23:41:39 +00:00
Daniel Jacobowitz
475bf943d2
* doc/Makefile.am (gasver.texi): Correct quoting.
...
* doc/Makefile.in: Regenerated.
2005-05-02 22:00:41 +00:00
Jim Blandy
78df6c563d
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
2005-05-02 20:57:30 +00:00
Mark Kettenis
a561754a23
* gdb.texinfo (Files): Remove documentation for auto-solib-limit.
2005-05-02 20:42:27 +00:00
Eli Zaretskii
514c4d7110
* gdb.texinfo (SVR4 Process Information, The isatty call)
...
(The system call): Don't use foo(N) notation for man pages and
functions.
(Compilation, DJGPP Native): Improve wording.
2005-05-02 20:28:48 +00:00
Corinna Vinschen
079c8cd052
* MAINTAINERS: Remove hint that sh64 doesn't build.
...
* sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
(sh64_do_fp_register): make raw_buffer unsigned.
(sh64_do_register): Ditto.
2005-05-02 15:23:37 +00:00
Corinna Vinschen
4839e910a0
* sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
...
inclusion of cgen.h.
2005-05-02 15:23:09 +00:00
H.J. Lu
a31501e943
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (_bfd_elf_new_section_hook): Don't call
_bfd_elf_get_sec_type_attr on sections from input files.
2005-05-02 14:00:16 +00:00
H.J. Lu
d05da6a8c2
2005-05-02 H.J. Lu <hongjiu.lu@intel.com>
...
* merge.c (sec_merge_init): Call bfd_hash_table_init_n with
hash table size 16699 instead of bfd_hash_table_init.
2005-05-02 13:59:16 +00:00
Mark Kettenis
5ebc08b005
* bsd-uthread.c: Include "solib.h".
...
* Makefile.in (bsd-uthread.o): Update dependencies.
2005-05-02 12:05:11 +00:00
Paul Brook
a67b080b92
2005-05-01 Paul Brook <paul@codesourcery.com>
...
* elflink.c (_bfd_elf_merge_symbol): Skip weak definitions if a strong
definition has already been seen.
2005-05-02 03:12:21 +00:00
Alan Modra
f341cbc179
daily update
2005-05-02 00:00:05 +00:00
gdbadmin
3a4b8b94a0
*** empty log message ***
2005-05-02 00:00:03 +00:00
Paul Brook
c6596c5ecb
2005-05-01 Paul Brook <paul@codesourcery.com>
...
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Treat
R_ARM_PLT32 the same as R_ARM_PC24.
(arm_add_to_rel): Ditto.
2005-05-01 23:57:21 +00:00
Daniel Jacobowitz
5dbe23a34e
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
...
cached frames when changing gdbarch.
* gdbarch.c: Regenerated.
2005-05-01 23:16:46 +00:00
Andrew Cagney
87d088f521
2005-05-01 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
do not build.
2005-05-01 23:07:33 +00:00
Eli Zaretskii
2eecc4abe2
(SVR4 Process Information, The isatty call, The system call): Don't use the
...
foo(N) notation for man pages and functions.
2005-05-01 21:27:44 +00:00
Andrew Cagney
5a168c78ef
2005-05-01 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (deprecated_extract_return_value)
(breakpoint_from_pc, deprecated_store_return_value)
(memory_insert_breakpoint, memory_remove_breakpoint): Change type
of buffer to a bfd_byte pointer.
* gdbarch.h, gdbarch.c: Re-generate.
* mem-break.c (memory_insert_breakpoint)
(memory_remove_breakpoint, default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Update.
* target.h (memory_insert_breakpoint)
(memory_remove_breakpoint, default_memory_insert_breakpoint)
(default_memory_remove_breakpoint): Update declarations.
(struct target_ops): Update to_insert_breakpoint and
to_remove_breakpoint.
* target.c (debug_to_remove_breakpoint)
(debug_to_insert_breakpoint): Update.
* remote-m32r-sdi.c (m32r_remove_breakpoint)
(m32r_insert_breakpoint): Update.
* m32r-tdep.c (m32r_memory_insert_breakpoint)
(m32r_memory_remove_breakpoint): Update.
* remote-e7000.c (e7000_insert_breakpoint)
(e7000_remove_breakpoint): Update.
* remote-rdi.c (arm_rdi_insert_breakpoint)
(arm_rdi_remove_breakpoint): Update.
* remote-sim.c (gdbsim_insert_breakpoint)
(gdbsim_remove_breakpoint): Update.
* exec.c (ignore): Update.
* rs6000-tdep.c (rs6000_extract_return_value): Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint)
(ia64_memory_remove_breakpoint): Update.
* remote-rdp.c (remote_rdp_insert_breakpoint)
(remote_rdp_remove_breakpoint): Update.
2005-05-01 19:58:55 +00:00
Mark Kettenis
e908eab4d8
* somsolib.c, somsolib.h: Remove files.
...
* Makefile.in (somsolib_h): Remove.
(somsolib.o): Remove dependency.
2005-05-01 16:04:24 +00:00
Maciej W. Rozycki
36d3b95500
* doc/binutils.texi (strip, objcopy): Clarify the description of
...
the "--strip-debug" option. Fix a typo.
2005-05-01 16:02:56 +00:00
Mark Kettenis
68b9939aec
* fbsd-nat.c: Include <sys/sysctl.h>.
...
(fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
available. Plug memory leak. Fixes PR gdb/1922.
2005-05-01 10:06:12 +00:00
gdbadmin
5308fd89d5
*** empty log message ***
2005-05-01 00:00:33 +00:00
Alan Modra
2c13bff76d
daily update
2005-05-01 00:00:06 +00:00
Daniel Jacobowitz
1690f9cfba
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
...
Slightly relax "sem_post" name checking.
2005-04-30 19:56:47 +00:00
Mark Kettenis
66aba65dca
* solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
...
(TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
(TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
(TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
* solib.c (solib_data): New variable.
(solib_init, solib_ops): New functions.
(solib_open, solib_map_sections, free_so, update_solib_list)
(solib_add, clear_solib, solib_create_inferior_hook)
(in_solib_dynsym_resolve_code): Call architecture-dependent code
using solib_ops.
(_initialize_solib): Register SOLIB_DATA.
2005-04-30 12:59:57 +00:00
Alan Modra
7b51f1082c
daily update
2005-04-30 00:00:07 +00:00
gdbadmin
9ea0d69021
*** empty log message ***
2005-04-30 00:00:06 +00:00
Kevin Buettner
35e08e031b
Fix bugs related to inferior function calls on FRV using the FDPIC ABI.
2005-04-29 21:48:28 +00:00
Paul Gilliam
5ea106f753
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-29 21:08:24 +00:00
Paul Gilliam
bf7234cff8
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/so-impl-ld.exp: Use new shared library
infrastructure.
2005-04-29 20:45:32 +00:00
Daniel Jacobowitz
009b6a7aa9
* configure.tgt: Add h8300*-*-rtemscoff.
...
Switch h8300*-*-rtems* to elf.
2005-04-29 18:43:35 +00:00
Daniel Jacobowitz
9a813b7a53
* config.bfd: Add h8300*-*-rtemscoff.
...
Switch h8300*-*-rtems* to elf.
2005-04-29 18:41:45 +00:00
H.J. Lu
7e70f1afa7
2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
...
* hash.c: Undo the last change.
* hash.h: Likewise.
2005-04-29 16:56:12 +00:00
H.J. Lu
cba1200696
2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
...
* bucomm.c: Undo the last change.
* bucomm.h: Likewise.
2005-04-29 16:49:20 +00:00
Paul Brook
33aa0cbb6b
2005-04-29 Paul Brook <paul@codesourcery.com>
...
* common/callback.c (PIPE_BUF): Provide default refinition.
(os_lstat): Use stat if lstat is not available on the host.
(os_ftruncate): Return EINVAL if not available on the host.
(os_truncate): Ditto.
* common/configure.ac: Check for lstat, truncate and ftruncate.
* common/configure: Regenerate.
* common/config.in: Regenerate.
2005-04-29 14:48:03 +00:00
Corinna Vinschen
547b869acd
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
...
* gdb.asm/h8300.inc: New file.
2005-04-29 14:22:28 +00:00
Corinna Vinschen
862ba188ef
* MAINTAINERS: Revert h8300 state to un-deleted.
...
* Makefile.in: Re-add h8300-tdep.o dependencies.
* h8300-tdep.c: Slightly rearrange type definitions and functions.
(struct frame_extra_info): Remove.
(struct h8300_frame_cache): Replace locals with differently defined
uses_fp member.
(h8300_unwind_pc): Simplify.
(h8300_unwind_sp): New function.
(h8300_unwind_dummy_id): Simplify.
(h8300_init_frame_cache): New function.
(h8300_is_argument_spill): Use reworked defines for opcode scanning.
(h8300_skip_prologue): Rewrite.
(h8300_alloc_frame_cache): Remove.
(h8300_analyze_frame_setup): Remove.
(h8300_analyze_register_saves): Remove.
(h8300_analyze_prologue): Rewrite.
(h8300_frame_cache): Use h8300_init_frame_cache instead of
h8300_alloc_frame_cache. Use BINWORD instead of constant 4 to
accomodate 16 bit mode. Fix saved_sp and register offset evaluation.
(h8300_frame_this_id): Correctly calculate this_id using saved stack
pointer instead of base.
(h8300_frame_prev_register): Drop needless braces.
(h8300_frame_base_address): New function.
(h8300_frame_base): New frame_base.
(h8300_push_dummy_call): Return correct CFA value.
(h8300h_extract_return_value): Fix 8 byte value handling.
(h8300_use_struct_convention): New function.
(h8300h_use_struct_convention): New function.
(h8300h_store_return_value): Fix 8 byte value handling.
(h8300_return_value): New function.
(h8300h_return_value): New function.
(h8300_extract_struct_value_address): Remove deprecated functionality.
(h8300_push_dummy_code): Remove.
(h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
set_gdbarch_store_return_value calls by set_gdbarch_return_value.
Remove calls to set_gdbarch_deprecated_fp_regnum,
set_gdbarch_deprecated_extract_struct_value_address,
set_gdbarch_deprecated_use_struct_convention and
set_gdbarch_push_dummy_code.
Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
Slightly rearrange code.
2005-04-29 14:21:22 +00:00
Daniel Jacobowitz
b8c449bfd0
bfd/
...
* doc/Makefile.am: Remove stamp rules. Depend on chew.c
instead of $(MKDOC).
* aclocal.m4, Makefile.in, doc/Makefile.in: Regnerated.
gas/
* doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
of Makefile.
(DISTCLEANFILES): Remove.
(MAINTAINERCLEANFILES): Add asconfig.texi.
* doc/Makefile.in: Regenerated.
2005-04-29 14:03:55 +00:00
Paolo Bonzini
2faa2958b5
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
...
Sync from gcc:
2005-04-22 Bernd Schmidt <bernd.schmidt@analog.com>
* config.sub: Update from master copy.
2005-04-19 Hans-Peter Nilsson <hp@axis.com>
* configure.in <crisv32-*-*, cris-*-*>: New local variable
libgcj_ex_libffi. Have specific match for *-*-linux*. Separate
matches for "*-*-aout" and "*-*-elf". Don't disable libffi for
"*-*-elf" and "*-*-linux*".
* configure: Regenerate.
config:
2005-04-29 Paolo Bonzini <bonzini@gnu.org>
* acx.m4 (ACX_PROG_GNAT): Remove stray break.
2005-04-29 14:00:03 +00:00
Ben Elliston
89b788963f
* more static'ing.
...
* syslex.l (word, number, unit): Remove unused variables.
* nlmheader.y (keyword_tokens): Make static.
* coffdump.c (dump_coff_symbol, coff_dump): Make static.
* coffgrok.c (lofile, last_function_symbol, last_function_type,
last_struct, last_enum, cur_sfile): Make variables static.
* sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
* sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
names, pnames): Likewise.
2005-04-29 01:15:21 +00:00