Alan Modra
a248e267b4
* elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub
...
group sizes to accomodate c++.
2001-11-24 07:39:11 +00:00
gdbadmin
cf938522ea
*** empty log message ***
2001-11-24 00:00:02 +00:00
Mark Kettenis
eb7cedd985
Add x86 OpenBSD native configuration.
...
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
config/i386/nm-obsd.h: New files.
* configure.host (i[3456]86-*-openbsd*): New host.
* configure.tgt (i[3456]86-*-openbsd*): New target.
* NEWS: Update.
2001-11-23 23:01:54 +00:00
Alan Modra
c79d05084e
daily update
2001-11-23 23:00:05 +00:00
Jeff Law
c8060cba7c
* gas/all/gas.exp (incbin): Do not run on the PA.
2001-11-23 16:26:01 +00:00
Jeff Law
7377433e61
* gas/hppa/parse/parse.exp: Expect failure on line separator bug.
2001-11-23 16:18:14 +00:00
Jakub Jelinek
2e549b45b8
* elf32-sparc.c (elf32_sparc_relocate_section): Don't clear
...
relocations in non-alloced sections against global symbols
defined in shared library being built.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
2001-11-23 13:16:39 +00:00
Jakub Jelinek
f8df10f4f5
* elf.c (_bfd_elf_rela_local_sym): New.
...
* elflink.h (elf_link_input_bfd): Don't consider empty
merged sections as removed in relocation tests.
* elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype.
* elf32-i386.c (elf_i386_relocate_section): Handle relocs
against STT_SECTION symbol of SHF_MERGE section.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Call
_bfd_elf_rela_local_sym.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_final_link_relocate): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise for
!partial_inplace relocs. Handle relocs against STT_SECTION
symbol of SHF_MERGE for partial_inplace relocs.
* config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
* write.c (adjust_reloc_syms): Don't handle relocs against
SEC_MERGE section symbols specially.
(fixup_segment): Likewise.
2001-11-23 12:17:21 +00:00
Alan Modra
c6843df52b
* pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
...
Also, break out of the loop as soon as an instruction has been
printed.
2001-11-23 07:09:48 +00:00
gdbadmin
82e831844a
*** empty log message ***
2001-11-23 00:00:03 +00:00
Alan Modra
95a1f57169
daily update
2001-11-22 23:00:05 +00:00
H.J. Lu
da54c6eb1c
2001-11-22 H.J. Lu <hjl@gnu.org>
...
* Makefile.in: Regenerated with automake based on automake
1.4-8 in RedHat 7.1.
2001-11-22 18:49:12 +00:00
Nick Clifton
313e863fa9
Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.
2001-11-22 16:21:01 +00:00
Alan Modra
465bc359f9
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
...
(config.status): Delete rule.
Add extra dependencies to cover sourced emulparams files.
* Makefile.in: Regenerate.
* scripttempl/elf.sc: Order <section>, <section>.* and
corresponding linkonce sections as seen in input files.
Formatting fixes. Zero vma of all sections if not relocating.
(STACK): Define and insert if STACK_ADDR defined.
(OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
(OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
(OTHER_READWRITE_SECTIONS): Likewise.
(OTHER_GOT_SECTIONS): Likewise.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_BSS_SECTIONS): Likewise.
* scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise.
* scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise
* emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
(STACK_ADDR): Define.
* emulparams/armelf_oabi.sh: As for armelf.sh.
* emulparams/elf32mcore.sh: As for armelf.sh.
* emulparams/h8300elf.sh: As for armelf.sh.
* emulparams/mn10200.sh: As for armelf.sh.
* emulparams/shelf.sh: As for armelf.sh.
* emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
* emulparams/m32relf.sh: As for elf32fr30.sh.
* emulparams/h8300helf.sh: As for elf32fr30.sh.
* emulparams/h8300self.sh: As for elf32fr30.sh.
* emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
defines with RELOCATING test.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_END_SYMBOLS): ..this.
* emulparams/crislinux.sh: As for criself.sh.
* emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
if not relocating.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_SECTIONS): ..this. Zero vma if not relocating. Order
normal and linkonce sections as seen in input files.
* emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
(TEXT_DYNAMIC): Likewise.
(INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
(OTHER_SDATA_SECTIONS): Likewise.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
(OTHER_PLT_RELOC_SECTIONS): Likewise.
(OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce
sections as seen in input files.
* emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
* emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
if not relocating.
(OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
(OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
* emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_SECTIONS): Instead, use this..
(OTHER_END_SYMBOLS): ..and this.
* emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
* emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
* emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
* emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
* emulparams/elf32ppclinux.sh: Likewise.
* emulparams/elf32ppcsim.sh: Likewise.
* emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
* emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
* emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
* emulparams/h8300self.sh: Likewise.
* emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
* emulparams/sh.sh: Comment.
* emulparams/shl.sh: Source sh.sh, remove duplicates.
* emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
* emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2001-11-22 09:08:05 +00:00
Andrew Cagney
172d914f22
Mention 5.1 release.
2001-11-22 05:52:23 +00:00
Michael Snyder
9a4d72d52a
2001-11-21 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
2001-11-22 01:13:10 +00:00
Michael Snyder
017ac23d72
2001-11-20 Michael Snyder <msnyder@redhat.com>
...
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
2001-11-22 01:07:24 +00:00
Tom Tromey
552c04a742
Fix for PR gdb/209, PR gdb/156:
...
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.
2001-11-22 00:23:13 +00:00
Tom Tromey
aa26fa3a7e
* gdb.texinfo (Invoking GDB): Document --args.
...
(Mode Options): Likewise.
2001-11-22 00:21:45 +00:00
gdbadmin
ba41d0fa86
*** empty log message ***
2001-11-22 00:00:03 +00:00
Alan Modra
e614115148
daily update
2001-11-21 23:00:51 +00:00
Jim Blandy
4f8ada0682
* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
...
Delete documentation; this macro has been removed from the
sources.
2001-11-21 22:26:48 +00:00
Kevin Buettner
da9c7185df
Fix two ``attach'' related bugs involving threads.
2001-11-21 21:56:47 +00:00
Alan Modra
d7458677f4
* elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
...
than sym_sec->output_section to detect relocs against discarded
sections.
2001-11-21 14:58:26 +00:00
Richard Sandiford
add55e1f31
* config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
...
(md_apply_fix3): ...here. Don't prevent the symbol value being
subtracted twice from GPREL addends.
(tc_gen_reloc): Add the symbol value to a GPREL addend if it was
subtracted by the previous function.
2001-11-21 11:24:13 +00:00
Jim Blandy
98eedd63d0
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
...
default definition; this is never used.
2001-11-21 02:01:29 +00:00
Alan Modra
abc6ab0a54
* ldlang.c (map_input_to_output_sections): Replace "break"
...
accidentally removed with 2001-08-03 change.
(lang_gc_sections_1): Likewise.
2001-11-21 01:13:15 +00:00
Alan Modra
7a47c3a29c
daily update
2001-11-21 00:53:38 +00:00
Michael Snyder
a773d1cdf8
2001-11-20 Michael Snyder <msnyder@redhat.com>
...
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-21 00:13:30 +00:00
Michael Snyder
bb632afbec
2001-11-14 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/code-exprs.exp: New file. Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).
2001-11-21 00:12:01 +00:00
gdbadmin
71c7a32578
*** empty log message ***
2001-11-21 00:00:34 +00:00
Nick Clifton
43e6407243
Use msgfmt to generate .gmo files from .po files for a distribution.
2001-11-20 19:00:47 +00:00
Keith Seitz
5bbc1a8e41
* varobj.c (c_value_of_child): Release memory for "name" when
...
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
2001-11-20 18:08:14 +00:00
Keith Seitz
1ad24239ce
* top.c (gdb_init): Call init_ui_hook before initializing
...
the default UI.
2001-11-20 16:54:39 +00:00
Elena Zannoni
4cb0dbef42
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
2001-11-20 16:36:44 +00:00
Elena Zannoni
f00d375378
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of
accessing registers[].
(fill_fpregset): Ditto.
2001-11-20 16:35:24 +00:00
Alan Modra
2181f54fd8
* ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
2001-11-20 15:31:10 +00:00
Alan Modra
ca0b584738
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
...
of false when calling lang_size_sections.
(hppaelf_layout_sections_again): Likewise.
2001-11-20 15:19:39 +00:00
Nick Clifton
a6567fe028
Fix md_apply_fix3 typo.
2001-11-20 09:33:49 +00:00
Ben Elliston
f021c2a7b7
2001-11-20 Ben Elliston <bje@redhat.com>
...
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to
usage after md_apply_fix3 cleanups.
2001-11-20 03:33:30 +00:00
H.J. Lu
45e9217a8f
2001-11-19 H.J. Lu <hjl@gnu.org>
...
* elflink.h (elf_link_input_bfd): Assert r_symndx != 0 when
discarding relocations.
2001-11-20 00:54:51 +00:00
gdbadmin
ee396359a5
*** empty log message ***
2001-11-20 00:00:33 +00:00
Elena Zannoni
8b6f1f3a31
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
...
* infptrace.c (fetch_register): Dynamically allocate buffer for
register.
(store_register): Use regcache_collect, instead of accessing the
register buffer directly.
2001-11-19 23:59:55 +00:00
Daniel Jacobowitz
479412cd97
* mips-tdep.c (find_proc_desc): Add cur_frame argument. Pass
...
cur_frame to heuristic_proc_desc.
(heuristic_proc_desc): Add cur_frame argument. Do not read SP
if cur_frame == 0.
(after_prologue): Pass cur_frame == 0 to find_proc_desc.
(mips_frame_chain): Pass cur_frame == 1 to find_proc_desc.
(mips_init_extra_frame_info): Likewise.
2001-11-19 23:15:31 +00:00
Alan Modra
b572d65c66
daily update
2001-11-19 23:00:05 +00:00
Andrew Cagney
ab290c52fb
* defs.h (return_to_top_level): Comment.
2001-11-19 21:44:46 +00:00
H.J. Lu
f5e0494514
2001-11-19 H.J. Lu <hjl@gnu.org>
...
* ld-elfvsb/define.s: Mark all global lables as object.
* ld-elfvsb/hidden0.d: Match large section number.
* ld-elfvsb/hidden1.d: Likewise.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/internal1.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
* ld-elfvsb/protected1.d: Likewise.
* ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT.
* ld-elfvsb/internal0.d: Likewise.
* ld-elfvsb/protected0.d: Likewise.
2001-11-19 20:32:02 +00:00
Andrew Cagney
22e0437587
Use ISO C long strings.
2001-11-19 20:18:32 +00:00
Keith Seitz
30c6b1fbe9
* varobj.c (c_value_of_child): Use the wrapper function,
...
gdb_value_struct_elt.
(cplus_value_of_child): Likewise.
2001-11-19 19:44:04 +00:00
Nick Clifton
84c254c646
Define and use bfd_is_const_section().
2001-11-19 15:35:38 +00:00