binutils-gdb.git
21 years ago2003-10-20 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 20 Oct 2003 18:30:43 +0000 (18:30 +0000)]
2003-10-20  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add lines for:
sim/testsuite/sim/frv/interrupts/Ipipe-fr400.cgs,
sim/testsuite/sim/frv/interrupts/Ipipe-fr500.cgs,
sim/testsuite/sim/frv/interrupts/badalign-fr550.cgs,
sim/testsuite/sim/frv/interrupts/compound-fr550.cgs,
sim/testsuite/sim/frv/interrupts/data_store_error-fr550.cgs,
sim/testsuite/sim/frv/interrupts/fp_exception-fr550.cgs,
sim/testsuite/sim/frv/interrupts/insn_access_error-fr550.cgs.

21 years agoErr, fix a spacing problem in a ChangeLog entry that I made yesterday.
Michael Chastain [Mon, 20 Oct 2003 18:19:13 +0000 (18:19 +0000)]
Err, fix a spacing problem in a ChangeLog entry that I made yesterday.
I'm not making a ChangeLog entry for this!

21 years ago2003-10-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 20 Oct 2003 15:38:02 +0000 (15:38 +0000)]
2003-10-20  Andrew Cagney  <cagney@redhat.com>

* values.c (register_value_being_returned): Update comments.  Use
"gdbarch_return_value" when available.
(using_struct_return): Ditto.
(set_return_value): Ditto.  Use "gdbarch_return_value" when
available..  Print a warning, and not an error, when an unhandled
return type is encountered.
* infcmd.c: Include "gdb_assert.h".
(print_return_value): When gdbarch_return_value_p, and using
struct return, assume that the value is not available.
* defs.h (return_value_convention): Define.
* gdbarch.sh (gdbarch_return_value): New predicate method.
* gdbarch.h, gdbarch.c: Re-generate
* ppc-sysv-tdep.c (return_value_convention): Delete definition.

Index: doc/ChangeLog
2003-10-20  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Document
gdbarch_return_value.  Add cross references from
USE_STRUCT_CONVENTION, EXTRACT_RETURN_VALUE, and
STORE_RETURN_VALUE, and from/to EXTRACT_STRUCT_VALUE_ADDRESS.

21 years ago2003-10-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 20 Oct 2003 14:38:46 +0000 (14:38 +0000)]
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* targets.c: Replace "struct sec" with "struct bfd_section"
* syms.c, sparclynx.c, section.c, opncls.c: Ditto.
* libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
* elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
* aout-tic30.c, aout-target.h:
* bfd-in2.h, libcoff.h, libbfd.h: Regenerate.

Index: binutils/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* coffgrok.h (coff_section): Replace 'struct sec" with "struct
bfd_section".

Index: gdb/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* symtab.c: Replace "struct sec" with "struct bfd_section".
* objfiles.c, linespec.c, blockframe.c, block.c: Ditto.

Index: ld/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* pe-dll.c: Replace "struct sec" with "struct bfd_section".

Index: sim/common/ChangeLog
2003-10-19  Andrew Cagney  <cagney@redhat.com>

* sim-base.h: Replace "struct sec" with "struct bfd_section".

21 years agodaily update
Alan Modra [Mon, 20 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update

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

21 years ago * config/tc-mips.c (normalize_constant_expr): New function to fix sign
Thiemo Seufer [Sun, 19 Oct 2003 21:50:43 +0000 (21:50 +0000)]
* config/tc-mips.c (normalize_constant_expr): New function to fix sign
extensions broken by gas' expression evaluation of constants.
(check_absolute_expr): Use it.
(mips_ip): Likewise.

21 years ago * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
Marek Michalkiewicz [Sun, 19 Oct 2003 16:46:14 +0000 (16:46 +0000)]
* Makefile.am: Remove old (before GCC 3.3) emulations for AVR
target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
avrmega161, avrmega603.  Default to avr2.
* Makefile.in: Regenerate.
* configure.tgt: Likewise.
* emulparams/avr1200.sh: Remove.
* emulparams/avr23xx.sh: Remove.
* emulparams/avr4433.sh: Remove.
* emulparams/avr44x4.sh: Remove.
* emulparams/avr85xx.sh: Remove.
* emulparams/avrmega103.sh: Remove.
* emulparams/avrmega161.sh: Remove.
* emulparams/avrmega603.sh: Remove.
* scripttempl/elf32avr.sc: Remove.

21 years ago * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
Andreas Schwab [Sun, 19 Oct 2003 15:58:18 +0000 (15:58 +0000)]
* emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
newline to message.

21 years ago * deffilep.y: Remove commas from %token lines.
Andreas Schwab [Sun, 19 Oct 2003 15:21:31 +0000 (15:21 +0000)]
* deffilep.y: Remove commas from %token lines.

21 years ago2003-10-19 Michael Chastain <mec@shout.net>
Michael Chastain [Sun, 19 Oct 2003 14:40:15 +0000 (14:40 +0000)]
2003-10-19  Michael Chastain <mec@shout.net>

* config/djgpp/fnchange.lst: Add lines for:
gdb/amd64nbsd-nat.c, gdb/amd64nbsd-tdep.c,
gdb/i386fbsd-nat.c, gdb/i386fbsd-tdep.c,
gdb/sparc64fbsd-nat.c, gdb/sparc64bsd-tdep.c.

21 years ago* amd64fbsd-nat.c (fetch_inferior_registers,
Mark Kettenis [Sun, 19 Oct 2003 10:39:50 +0000 (10:39 +0000)]
* amd64fbsd-nat.c (fetch_inferior_registers,
store_inferior_registers): Remove functions.
* config/i386/fbsd64.mh (NATDEPFILES): Add amd64bsd-nat.o.

21 years ago * mmix.h (JMP_INSN_BYTE): Define.
Hans-Peter Nilsson [Sun, 19 Oct 2003 01:16:56 +0000 (01:16 +0000)]
* mmix.h (JMP_INSN_BYTE): Define.

21 years ago*** empty log message ***
gdbadmin [Sun, 19 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 19 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoAdd NetBSD/amd64 native configuration:
Mark Kettenis [Sat, 18 Oct 2003 18:41:22 +0000 (18:41 +0000)]
Add NetBSD/amd64 native configuration:
* x86-64-tdep.h (amd64nbsd_r_reg_offset): Add extern declarations.
* amd64nbsd-tdep.c: New file.
* amd64nbsd-nat.c: New file.
* amd64bsd-nat.c: New file.
* config/i386/nbsd64.mh: New file.
* config/i386/nbsd64.mt: New file.
* configure.host: Add x86_64-*-netbsd*.
* configure.tgt: Add x86_64-*-netbsd*.
* Makefile.in (amd64bsd-nat.o, amd64nbsd-nat.o, amd64nbsd-tdep.o):
New targets.
* NEWS (New native configurations): Mention NetBSD/amd64.

21 years ago * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,
Hans-Peter Nilsson [Sat, 18 Oct 2003 16:05:02 +0000 (16:05 +0000)]
* ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,
ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass
--no-pushj-stubs to the assembler.
* ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d,
ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d,
ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d,
ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d,
ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d,
ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d,
ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d,
ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d,
ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests.

21 years ago * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add
Hans-Peter Nilsson [Sat, 18 Oct 2003 16:00:21 +0000 (16:00 +0000)]
* gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: Add
--no-pushj-stubs option.
* gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs
option.
* gas/mmix/reloclab.l: Adjust for PUSHJ stub.
* gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s,
gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d,
gas/mmix/weak1-s.d: New tests.

21 years ago Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:53:40 +0000 (15:53 +0000)]
Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
* doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and
--no-stubs.
* config/tc-mmix.c: Include limits.h.  Expand on mmix_relax_table
comment.
(expand_op, mmix_next_semicolon_is_eoln): Fix head comment.
(pushj_stubs): New variable.
(OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN)
(PUSHJSTUB_MAX): New macros.
(md_longopts): New options "--no-pushj-stubs" and synonym
"--no-stubs".
(mmix_relax_table): Handle new entry for STATE_PUSHJSTUB.
(md_parse_option): Handle OPTION_NOPUSHJSTUBS.
(md_estimate_size_before_relax): Modify STATE_PUSHJ state for
PUSHJ stub relaxation.
(md_convert_frag): Handle STATE_PUSHJSTUB.
(md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
(tc_gen_reloc): Ditto.
(mmix_md_relax_frag): Handle PUSHJ stub relaxation.
* config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define.
(struct mmix_segment_info_type): New.

21 years ago * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:49:10 +0000 (15:49 +0000)]
* emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
relaxation always; don't exclude relocatable linking.  Adjust for
_bfd_mmix_prepare_linker_allocated_gregs renamed to
_bfd_mmix_before_linker_allocation.
(mmix_after_allocation): Adjust for
_bfd_mmix_finalize_linker_allocated_gregs renamed to
_bfd_mmix_after_linker_allocation.
* scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).

21 years ago * mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:46:35 +0000 (15:46 +0000)]
* mmix.h (R_MMIX_PUSHJ_STUBBABLE): New reloc number.
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.

21 years ago Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
Hans-Peter Nilsson [Sat, 18 Oct 2003 15:42:40 +0000 (15:42 +0000)]
Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
* elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro.
(struct _mmix_elf_section_data): New member pjs.
(mmix_set_relaxable_size, mmix_elf_get_section_contents): New
functions.
(elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE.
(mmix_reloc_map): Ditto.
(mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE.
(mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto.
(mmix_elf_perform_relocation): Ditto.  Don't mark parameter addr
unused.
(mmix_elf_check_relocs): Move early return to after
mmix_elf_check_common_relocs call.
(mmix_elf_symbol_processing): Fix cut-and-pasto in head comment.
(_bfd_mmix_before_linker_allocation): Rename from
_bfd_mmix_prepare_linker_allocated_gregs.  All referers changed.
Arrange to set the initial relaxable size of sections.
(_bfd_mmix_after_linker_allocation): Rename from
_bfd_mmix_finalize_linker_allocated_gregs.
(mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc.
(bfd_elf64_get_section_contents): Define.
* reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
* libbfd.h, bfd-in2.h: Regenerate.

21 years ago2003-10-17 Michael Chastain <mec@shout.net>
Michael Chastain [Sat, 18 Oct 2003 14:36:16 +0000 (14:36 +0000)]
2003-10-17  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Remove dead lines for:
bfd/elf32-i386qnx.c, bfd/elf32-ppcqnx.c, bfd/elf32-shqnx.c,
bfd/elf32-sh-lin.c, bfd/elf32-sh-nbsd.c, bfd/elf32-sh64-nbsd.c,
bfd/elf64-alpha-fbsd.c, bfd/elf64-sh64-nbsd.c,
gdb/alphanbsd-nat.c, gdb/config/i386/tm-i386mk.h,
gdb/config/i386/tm-i386v42mp.h, gdb/config/i386/xm-i386mach.h,
gdb/config/i386/xm-i386mk.h, gdb/config/i386/xm-i386v32.h,
gdb/config/m68k/apollo68v.mh, gdb/config/m68k/nm-apollo68v.h,
gdb/config/m68k/xm-apollo68v.h, gdb/config/m88k/tm-delta88v4.h,
gdb/config/mips/tm-bigmips64.h, gdb/config/mips/tm-embed64.h,
gdb/config/mips/tm-embedl.h, gdb/config/mips/tm-embedl64.h,
gdb/config/mips/tm-vr4300el.h, gdb/config/mips/tm-vr4xxxel.h,
gdb/config/mips/tm-vr5000el.h, gdb/config/sparc/tm-sparclet.h,
gdb/config/sparc/tm-sparclite.h,
gdb/gdbtk/generic/ChangeLog-2001,
gdb/gdbtk/library/ChangeLog-2001, gdb/remote-adapt.c,
gdb/remote-eb.c, gdb/remote-mm.c, gdb/remote-nrom.c,
gdb/remote-udi.c, gdb/remote-vx29k.c, gdb/remote-vx960.c,
gdb/sparclet-rom.c, gdb/sparclet-stub.c,
gdb/testsuite/gdb.mi/mi0-var-block.exp,
gdb/testsuite/gdb.mi/mi0-var-child.exp,
gdb/testsuite/gdb.mi/mi0-var-cmd.exp,
gdb/testsuite/gdb.mi/mi0-var-display.exp,
itcl/iwidgets3.0.0/demos/extfileselectionbox,
itcl/iwidgets3.0.0/demos/extfileselectiondialog,
itcl/iwidgets3.0.0/demos/fileselectionbox,
itcl/iwidgets3.0.0/demos/fileselectiondialog,
itcl/iwidgets3.0.0/demos/html/buttonbox.n.html,
itcl/iwidgets3.0.0/demos/html/canvasprintbox.n.html,
itcl/iwidgets3.0.0/demos/html/canvasprintdialog.n.html,
itcl/iwidgets3.0.0/demos/html/combobox.n.html,
itcl/iwidgets3.0.0/demos/html/dialog.n.html,
itcl/iwidgets3.0.0/demos/html/dialogshell.n.html,
itcl/iwidgets3.0.0/demos/html/entryfield.n.html,
itcl/iwidgets3.0.0/demos/html/feedback.n.html,
itcl/iwidgets3.0.0/demos/html/fileselectionbox.n.html,
itcl/iwidgets3.0.0/demos/html/fileselectiondialog.n.html,
itcl/iwidgets3.0.0/demos/html/hyperhelp.n.html,
itcl/iwidgets3.0.0/demos/html/iwidgets2.2.0UserCmds.html,
itcl/iwidgets3.0.0/demos/html/labeledwidget.n.html,
itcl/iwidgets3.0.0/demos/html/menubar.n.html,
itcl/iwidgets3.0.0/demos/html/messagedialog.n.html,
itcl/iwidgets3.0.0/demos/html/notebook.n.html,
itcl/iwidgets3.0.0/demos/html/optionmenu.n.html,
itcl/iwidgets3.0.0/demos/html/panedwindow.n.html,
itcl/iwidgets3.0.0/demos/html/promptdialog.n.html,
itcl/iwidgets3.0.0/demos/html/pushbutton.n.html,
itcl/iwidgets3.0.0/demos/html/radiobox.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledcanvas.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledframe.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledhtml.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledlistbox.n.html,
itcl/iwidgets3.0.0/demos/html/scrolledtext.n.html,
itcl/iwidgets3.0.0/demos/html/selectionbox.n.html,
itcl/iwidgets3.0.0/demos/html/selectiondialog.n.html,
itcl/iwidgets3.0.0/demos/html/shell.n.html,
itcl/iwidgets3.0.0/demos/html/spindate.n.html,
itcl/iwidgets3.0.0/demos/html/spinint.n.html,
itcl/iwidgets3.0.0/demos/html/spinner.n.html,
itcl/iwidgets3.0.0/demos/html/spintime.n.html,
itcl/iwidgets3.0.0/demos/html/tabnotebook.n.html,
itcl/iwidgets3.0.0/demos/html/tabset.n.html,
itcl/iwidgets3.0.0/demos/html/toolbar.n.html,
itcl/iwidgets3.0.0/demos/scrolledcanvas,
itcl/iwidgets3.0.0/demos/scrolledframe,
itcl/iwidgets3.0.0/demos/scrolledhtml,
itcl/iwidgets3.0.0/demos/scrolledlistbox,
itcl/iwidgets3.0.0/demos/scrolledtext,
itcl/iwidgets3.0.0/demos/selectionbox,
itcl/iwidgets3.0.0/demos/selectiondialog,
itcl/iwidgets3.0.0/doc/canvasprintbox.n,
itcl/iwidgets3.0.0/doc/canvasprintdialog.n,
itcl/iwidgets3.0.0/doc/extfileselectionbox.n,
itcl/iwidgets3.0.0/doc/extfileselectiondialog.n,
itcl/iwidgets3.0.0/doc/fileselectionbox.n,
itcl/iwidgets3.0.0/doc/fileselectiondialog.n,
itcl/iwidgets3.0.0/doc/scopedobject.n.backup,
itcl/iwidgets3.0.0/doc/scrolledcanvas.n,
itcl/iwidgets3.0.0/doc/scrolledframe.n,
itcl/iwidgets3.0.0/doc/scrolledhtml.n,
itcl/iwidgets3.0.0/doc/scrolledlistbox.n,
itcl/iwidgets3.0.0/doc/scrolledtext.n,
itcl/iwidgets3.0.0/doc/selectionbox.n,
itcl/iwidgets3.0.0/doc/selectiondialog.n,
itcl/iwidgets3.0.0/generic/canvasprintbox.itk,
itcl/iwidgets3.0.0/generic/canvasprintdialog.itk,
itcl/iwidgets3.0.0/generic/extfileselectionbox.itk,
itcl/iwidgets3.0.0/generic/extfileselectiondialog.itk,
itcl/iwidgets3.0.0/generic/fileselectionbox.itk,
itcl/iwidgets3.0.0/generic/fileselectiondialog.itk,
itcl/iwidgets3.0.0/generic/scrolledcanvas.itk,
itcl/iwidgets3.0.0/generic/scrolledframe.itk,
itcl/iwidgets3.0.0/generic/scrolledhtml.itk,
itcl/iwidgets3.0.0/generic/scrolledlistbox.itk,
itcl/iwidgets3.0.0/generic/scrolledtext.itk,
itcl/iwidgets3.0.0/generic/scrolledwidget.itk,
itcl/iwidgets3.0.0/generic/selectionbox.itk,
itcl/iwidgets3.0.0/generic/selectiondialog.itk,
itcl/iwidgets3.0.0/tests/canvasprintbox.test,
itcl/iwidgets3.0.0/tests/canvasprintdialog.test,
itcl/iwidgets3.0.0/tests/extfileselectionbox.test,
itcl/iwidgets3.0.0/tests/extfileselectiondialog.test,
itcl/iwidgets3.0.0/tests/fileselectionbox.test,
itcl/iwidgets3.0.0/tests/fileselectiondialog.test,
itcl/iwidgets3.0.0/tests/scrolledcanvas.test,
itcl/iwidgets3.0.0/tests/scrolledframe.test,
itcl/iwidgets3.0.0/tests/scrolledhtml.test,
itcl/iwidgets3.0.0/tests/scrolledlistbox.test,
itcl/iwidgets3.0.0/tests/scrolledtext.test,
itcl/iwidgets3.0.0/tests/selectionbox.test,
itcl/iwidgets3.0.0/tests/selectiondialog.test,
itcl/iwidgets3.0.0/unix/iwidgets.tcl.in,
itcl/iwidgets3.0.0/unix/pkgIndex.tcl.in,
tix/docs/Release-4.1.0.html, tix/docs/Release-4.1.0.txt,
tix/docs/Release-4.1a2.html, tix/docs/Release-4.1a2.txt,
tix/docs/Release-4.1a3.html, tix/docs/Release-4.1a3.txt,
tix/docs/Release-4.1b1.html, tix/docs/Release-4.1b1.txt,
tix/docs/Release-4.1b2.html, tix/docs/Release-4.1b2.txt,
tix/tixConfig.sh.in, tix/unix/tk4.2/pkgIndex.tcl.in,
tix/unix/tk8.0/pkgIndex.tcl.in, tix/unix/tk8.0/pkgIndex.tcl.in,
tix/unix/tk8.1/pkgIndex.tcl.in, tix/win/tkConsole41.c,
tix/win/tkConsole42.c, tix/win/tkConsole80a1.c,
tix/win/tkConsole80b1.c, tix/win/tkConsole81.c, tk/doc/tk4.0.ps,
tk/mac/tkMacProjects.sit.hqx.

21 years ago* gdbint.texinfo (Target Architecture Definition): Document
Mark Kettenis [Sat, 18 Oct 2003 12:28:05 +0000 (12:28 +0000)]
* gdbint.texinfo (Target Architecture Definition): Document
regset_from_core_section.

21 years agodaily update
Alan Modra [Sat, 18 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 18 Oct 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * ldlang.c (lang_size_sections): Last, set _cooked_size for output
Hans-Peter Nilsson [Fri, 17 Oct 2003 23:05:50 +0000 (23:05 +0000)]
* ldlang.c (lang_size_sections): Last, set _cooked_size for output
sections.

21 years ago * reloc.c (bfd_generic_relax_section): Default-set
Hans-Peter Nilsson [Fri, 17 Oct 2003 23:03:44 +0000 (23:03 +0000)]
* reloc.c (bfd_generic_relax_section): Default-set
section->_cooked_size here.
(bfd_generic_get_relocated_section_contents): Don't set it here.
Explain why.

21 years ago * gas/arm/iwmmxt-bad.s: New file.
Ian Lance Taylor [Fri, 17 Oct 2003 22:45:29 +0000 (22:45 +0000)]
* gas/arm/iwmmxt-bad.s: New file.
* gas/arm/iwmmxt-bad.l: New file.
* gas/arm/arm.exp: Run new test.

21 years ago2003-10-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 17 Oct 2003 20:17:51 +0000 (20:17 +0000)]
2003-10-17  Andrew Cagney  <cagney@redhat.com>

* target.c (target_section_by_addr): New function.
(do_xfer_memory): Use "target_section_by_addr".
* target.h (target_section_by_addr): Declare.

21 years ago2003-10-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 17 Oct 2003 18:24:49 +0000 (18:24 +0000)]
2003-10-17  Andrew Cagney  <cagney@redhat.com>

* target.h (struct target_ops): Add "to_read_partial" and
"to_write_partial", delete "to_query".
(target_read_partial, target_write_partial): Declare.
(target_read, target_write): Declare.
(target_query): Delete macro.
* target.c (target_read_partial): New function.
(target_write_partial, target_read, target_write): New function.
(update_current_target): Delete inheritance of "to_query".  Add
comments about "to_read_partial" and "to_write_partial".
(debug_to_partial_read, debug_to_partial_write): New functions.
(debug_to_query): Delete function.
(setup_target_debug): Set "to_read_partial" and "to_write_partial"
instead of "to_query".
* remote.c (remote_read_partial): Replace "remote_query".
(init_remote_ops): Set "to_read_partial" instead of "to_query".
(init_remote_async_ops): Ditto.
* kod.c (gdb_kod_query): Make "bufsize" a LONGEST.  Use
"target_read_partial" instead of "target_query".
* avr-tdep.c (avr_io_reg_read_command): Make "bufsize" a LONGEST.
Use "target_read_partial" instead of "target_query".

21 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
Dave Anglin [Fri, 17 Oct 2003 16:43:14 +0000 (16:43 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
output section has been discarded.

21 years ago2003-10-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 17 Oct 2003 16:32:17 +0000 (16:32 +0000)]
2003-10-17  Jeff Johnston  <jjohnstn@redhat.com>

        * frame.h (struct frame_id): Add new field: special_addr.
        (frame_id_build_special): New prototype.
        * frame.c (frame_id_build_special): New function.
        (frame_id_build): Change to call frame_id_build_special().
        (frame_id_eq): Change to also test special_addr field.
        (frame_id_inner): Update comment.

21 years ago2003-10-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 17 Oct 2003 16:09:20 +0000 (16:09 +0000)]
2003-10-17  Andrew Cagney  <cagney@redhat.com>

* target.c: Update copyright.
(update_current_target): Perform the target cleanup.
Put the target stack beneath the squashed "current_target".
(add_target): Delete disabled call to "cleanup_target".
(cleanup_target): Delete function.
(push_target, unpush_target): Do not call "cleanup_target".

21 years agoFix changelog date :-(
Andrew Cagney [Fri, 17 Oct 2003 14:41:09 +0000 (14:41 +0000)]
Fix changelog date :-(

21 years ago2003-10-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 17 Oct 2003 13:59:27 +0000 (13:59 +0000)]
2003-10-15  Andrew Cagney  <cagney@redhat.com>

* target.c (target_stack): Change to a static target_ops.
(update_current_target): Walk the "struct target_ops" stack.
(pop_target, do_xfer_memory, target_info): Ditto.
(find_target_beneath): Ditto.
(push_target): Rewrite to use the "struct target_ops" stack.
(unpush_target): Ditto.
* target.h (struct target_stack_item): Delete definition.
(target_stack): Delete declaration.
(struct target_ops): Add field "beneath".

21 years agofix tiop in changelug
Andrew Cagney [Fri, 17 Oct 2003 13:49:37 +0000 (13:49 +0000)]
fix tiop in changelug

21 years ago2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
Shrinivas Atre [Fri, 17 Oct 2003 12:45:55 +0000 (12:45 +0000)]
2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
     * h8300/compile.c : Addition of extern variable h8300_normal_mode
        (SP) : Handle normal mode
        (bitfrom) : Use normal mode flag to return suitable value
        (lvalue) : Use normal mode flag to return command line location
        (decode) : Decode instruction correctly for normal mode
        (init_pointers) : Initialise memory correctly for normal mode
        (sim_resume) : Handle cases for normal mode using h8300_normal_mode flag
        (sim_store_register) : Handle 2 byte PC for normal mode
        (sim_fetch_register) : Handle 2 byte PC for normal mode
        (set_h8300h) : Set normal mode flag as per architechture
        (sim_load) : Allocate 64K for normal mode instead of bigger memory

21 years ago2003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
Shrinivas Atre [Fri, 17 Oct 2003 12:43:05 +0000 (12:43 +0000)]
2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
      * gdb/config/h8300/tm-h8300.h : Addition of extern variable h8300_normal_mode
      * gdb/h8300-tdep.c (BINWORD): Update BINWORD for h8300_normal_mode
        (h8300_examine_prologue): Use h8300_normal_mode flag
        (h8300_gdbarch_init): Set architecture info for normal mode

21 years agoEnforce PC-relative jumps with --pcrel.
Nick Clifton [Fri, 17 Oct 2003 10:50:27 +0000 (10:50 +0000)]
Enforce PC-relative jumps with --pcrel.

21 years agoFix normal operation for h8300-coff target
Nick Clifton [Fri, 17 Oct 2003 10:23:33 +0000 (10:23 +0000)]
Fix normal operation for h8300-coff target

21 years ago * config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
Ian Lance Taylor [Fri, 17 Oct 2003 07:01:44 +0000 (07:01 +0000)]
* config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
registers.
(do_iwmmxt_word_addr): With a control register, reject conditional
execution and reject a non-word size.

21 years ago * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the
Ian Lance Taylor [Fri, 17 Oct 2003 06:57:18 +0000 (06:57 +0000)]
* gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the
right disassembly.

21 years ago* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size for
Christopher Faylor [Fri, 17 Oct 2003 03:30:27 +0000 (03:30 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size for
sections which lack size info.

21 years ago * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
Danny Smith [Fri, 17 Oct 2003 02:15:53 +0000 (02:15 +0000)]
* configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
 mingw32.

21 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 17 Oct 2003 01:36:56 +0000 (01:36 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/alpha/elf-reloc-8.d: Updated.

21 years ago2003-10-16 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 17 Oct 2003 00:15:25 +0000 (00:15 +0000)]
2003-10-16  Michael Snyder  <msnyder@redhat.com>

* emul_netbsd.c: Only a comment may follow an #endif.

21 years ago*** empty log message ***
gdbadmin [Fri, 17 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 17 Oct 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
undefined patterns with '*'.

21 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 21:04:04 +0000 (21:04 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
use the last CIE from a different section.
(_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
size of the output section.

21 years ago * remote.c (remote_protocol_vcont): New variable.
Daniel Jacobowitz [Thu, 16 Oct 2003 20:51:47 +0000 (20:51 +0000)]
* remote.c (remote_protocol_vcont): New variable.
(set_remote_protocol_vcont_packet_cmd): New function.
(show_remote_protocol_vcont_packet_cmd): New function.
(init_all_packet_configs): Handle remote_protocol_vcont.
(remote_vcont_probe): New function.
(remote_vcont_resume): New function.
(remote_resume): Use it.
(remote_async_resume): Call remote_resume.
(_initialize_remote): Add verbose-resume packet commands.

21 years ago.
Roland McGrath [Thu, 16 Oct 2003 18:55:52 +0000 (18:55 +0000)]
.

21 years ago2003-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 16 Oct 2003 18:55:48 +0000 (18:55 +0000)]
2003-10-07  Roland McGrath  <roland@redhat.com>

* elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
new section from p_align header field.

21 years ago2003-10-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 16 Oct 2003 18:24:13 +0000 (18:24 +0000)]
2003-10-16  Andrew Cagney  <cagney@redhat.com>

* infrun.c (handle_inferior_event): Add comment about
"frame_id_inner" being too weak.

21 years ago2003-10-16 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 16 Oct 2003 16:35:27 +0000 (16:35 +0000)]
2003-10-16  Elena Zannoni  <ezannoni@redhat.com>

* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
second parameter, which is always null. Remove
SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
* symtab.h (lookup_minimal_symbol_solib_trampoline): Update
accordingly.
* somsolib.c (som_solib_create_inferior_hook,
som_solib_desire_dynamic_linker_symbols): Update callers.
* hppa-tdep.c (hppa_fix_call_dummy): Ditto.

21 years ago2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 15:25:54 +0000 (15:25 +0000)]
2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-xtensa.c (xtensa_read_table_entries): The external size
of entry is 8 bytes.

21 years ago2003-10-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 16 Oct 2003 15:22:27 +0000 (15:22 +0000)]
2003-10-14  H.J. Lu  <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Update the expected output of
_GLOBAL__I__Z2fnv.

21 years ago * configure.in: Set em=linux for ppc-*-linux-gnu* target.
Alan Modra [Thu, 16 Oct 2003 13:16:26 +0000 (13:16 +0000)]
* configure.in: Set em=linux for ppc-*-linux-gnu* target.
* configure: Regenerate.

21 years ago * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use
Alan Modra [Thu, 16 Oct 2003 08:46:35 +0000 (08:46 +0000)]
* Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove.  Use
GENSCRIPTS and GEN_DEPENDS in place of these.
* Makefile.in: Regenerate.
* genscripts_extra.sh: Delete.  Merge extra functionality to..
* genscripts.sh: ..here.

* emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
* emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
* emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.

21 years ago * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
Alan Modra [Thu, 16 Oct 2003 06:26:37 +0000 (06:26 +0000)]
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
use $EMULATION_NAME to call bfd function.

21 years agoIndex: doc/ChangeLog
Andrew Cagney [Thu, 16 Oct 2003 04:11:10 +0000 (04:11 +0000)]
Index: doc/ChangeLog
2003-10-15  Andrew Cagney  <cagney@redhat.com>

* bfdint.texi (BFD target vector symbols): Rename _get_symtab to
_canonicalize_symtab.

2003-10-15  Andrew Cagney  <cagney@redhat.com>

* targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
with NAME##_canonicalize_symtab.
* libcoff-in.h (coff_canonicalize_symtab): Update.
* xsym.h (bfd_sym_canonicalize_symtab): Update.
* elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
* coffgen.c (coff_canonicalize_symtab): Update.
* libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
* libnlm.h (nlmNAME(canonicalize_symtab)): Update.
* ieee.c (ieee_vec): Update comment.
* libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
* mmo.c (mmo_canonicalize_symtab): Update.
* nlm-target.h (nlm_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* i386msdos.c (msdos_canonicalize_symtab): Update.
* hp300hpux.c (MY (canonicalize_symtab)): Update.
* oasys.c (oasys_canonicalize_symtab): Update.
* som.c (som_canonicalize_symtab): Update.
* pef.c (bfd_pef_canonicalize_symtab): Update.
* nlmcode.h (nlm_canonicalize_symtab): Update.
* xsym.c (bfd_sym_canonicalize_symtab): Update.
* vms.c (vms_canonicalize_symtab): Update.
* versados.c (versados_canonicalize_symtab): Update.
* mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
* ieee.c (ieee_canonicalize_symtab): Update.
* pdp11.c (NAME(aout,canonicalize_symtab)): Update.
* reloc.c: Update comment.
* libaout.h (NAME(aout,canonicalize_symtab)): Update.
* coff64-rs6000.c (aix5coff64_vec): Update.
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
* aoutx.h (NAME(aout,canonicalize_symtab)): Update.
* elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
* hp300hpux.c (MY_canonicalize_symtab): Update.
* ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
* aout-tic30.c (MY_canonicalize_symtab): Update.
* aout-target.h (MY_canonicalize_symtab): Update.
* ppcboot.c (ppcboot_canonicalize_symtab): Update.
* elf.c (_bfd_elf_canonicalize_symtab): Update.
* elfcode.h (elf_canonicalize_symtab): Update.
* ihex.c (ihex_canonicalize_symtab): Update.
* tekhex.c (tekhex_canonicalize_symtab): Update.
* binary.c (binary_canonicalize_symtab): Update.
* srec.c (srec_canonicalize_symtab): Update.

21 years ago2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Thu, 16 Oct 2003 02:36:39 +0000 (02:36 +0000)]
2003-10-16  Kei Sakamoto  <sakamoto.kei@renesas.com>

* remote-m32r-sdi.c : New file, interface to m32r on-chip
debug interface, SDI (Scalable Debug Interface).
* NEWS: Mention m32r SDI protocol was supported.
* Makefile.in (remote-m32r-sdi.o): Add build rule.
* config/m32r/m32r.mt (TDEPFILES) : Add remote-m32r-sdi.o.

21 years ago2003-10-16 Kei Sakamot Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Thu, 16 Oct 2003 02:33:46 +0000 (02:33 +0000)]
2003-10-16  Kei Sakamot Sakamoto  <sakamoto.kei@renesas.com>

* gdb.texinfo (M32R/D): Mention m32rsdi target.

21 years ago*** empty log message ***
gdbadmin [Thu, 16 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 16 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-10-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 15 Oct 2003 22:55:32 +0000 (22:55 +0000)]
2003-10-15  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-linux-tdep.c: Include gdbcore.h.
        (IA64_LINUX_SIGCONTEXT_OFFSET): Magic constant removed.
        (ia64_linux_sigcontext_register_addr): Find the address of the
        sigcontext area stored in the sigframe instead of using
        a magic offset constant.

21 years ago2003-10-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 15 Oct 2003 21:32:36 +0000 (21:32 +0000)]
2003-10-15  Michael Snyder  <msnyder@redhat.com>

        * Makefile.in (sim_calls.o): No longer depends on gdb/tm.h.

21 years ago2003-10-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 15 Oct 2003 21:10:55 +0000 (21:10 +0000)]
2003-10-15  Andrew Cagney  <cagney@redhat.com>

* remote.c (remote_search): Delete function.
* target.h (target_search): Delete disabled macro.
(struct target_ops): Delete disabled field "to_search".

21 years ago * elf32-h8300.c (elf_reloc_map): Fix a comment typo.
Kazu Hirata [Wed, 15 Oct 2003 19:08:10 +0000 (19:08 +0000)]
* elf32-h8300.c (elf_reloc_map): Fix a comment typo.

21 years ago * gdb.texinfo (Breakpoints related warnings): Insert into menu.
Kevin Buettner [Wed, 15 Oct 2003 17:55:02 +0000 (17:55 +0000)]
    * gdb.texinfo (Breakpoints related warnings): Insert into menu.

21 years ago * doc/as.texinfo (Align): Correct list of byte targets.
Alan Modra [Wed, 15 Oct 2003 14:16:29 +0000 (14:16 +0000)]
* doc/as.texinfo (Align): Correct list of byte targets.

21 years agoinclude/gdb:
Joern Rennecke [Wed, 15 Oct 2003 12:30:47 +0000 (12:30 +0000)]
include/gdb:
        * callback.h (struct host_callback_struct): New members ftruncate
        and truncate.
gdb:
sim/common:
        * callback.c (os_ftruncate, os_truncate): New functions.
        (default_callback): Initialize ftruncate and truncate members.
sim/sh:
        * syscall.h (SYS_truncate, SYS_ftruncate): Define.
        * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.

21 years agonclude/gdb:
Joern Rennecke [Wed, 15 Oct 2003 12:28:50 +0000 (12:28 +0000)]
nclude/gdb:
        * callback.h (struct host_callback_struct): New members ftruncate
        and truncate.
gdb:
sim/common:
        * callback.c (os_ftruncate, os_truncate): New functions.
        (default_callback): Initialize ftruncate and truncate members.
sim/sh:
        * syscall.h (SYS_truncate, SYS_ftruncate): Define.
        * interp.c (trap): Add support for SYS_ftruncate and SYS_truncate.

21 years ago * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Thiemo Seufer [Wed, 15 Oct 2003 11:12:53 +0000 (11:12 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Fix indentation. Better error message.

21 years ago[bfd]
Kaz Kojima [Wed, 15 Oct 2003 06:23:55 +0000 (06:23 +0000)]
[bfd]
* elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
relocations.
(sh_elf_check_relocs): Likewise.

* elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf_merge_symbol_attribute): New.
* elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
(sh64_elf64_merge_symbol_attribute): New.

[ld/testsuite]
* ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy
the output of linker to the file tmpdir/*-dso.so.
* ld-sh/sh64/stobin-0-dso.d: New.
* ld-sh/sh64/stobin-1.d: New.
* ld-sh/sh64/stobin.s: New.
* ld-sh/sh64/stolib.s: New.

21 years ago*** empty log message ***
gdbadmin [Wed, 15 Oct 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 15 Oct 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * elf-bfd.h (struct elf_backend_data): New function pointer member
Kaz Kojima [Tue, 14 Oct 2003 22:43:10 +0000 (22:43 +0000)]
* elf-bfd.h (struct elf_backend_data): New function pointer member
elf_backend_merge_symbol_attribute.
* elflink.h (elf_link_add_object_symbols): Adjust call to
elf_backend_merge_symbol_attribute if the backend defined it.
        * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
        (elfNN_bed): Add that to the initializer.

21 years agobfd ChangeLog:
Bob Wilson [Tue, 14 Oct 2003 22:28:28 +0000 (22:28 +0000)]
bfd ChangeLog:

2003-10-14  Bob Wilson  <bob.wilson@acm.org>

* elf32-xtensa.c (get_is_linkonce_section): Delete.
(xtensa_is_property_section, xtensa_is_littable_section): Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Do not recognize
linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
(xtensa_get_property_section_name): Check section name instead of
calling get_is_linkonce_section.  Remove unused bfd parameter.  Use
XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Never generate
linkonce section names by appending ".xt.insn" or ".xt.lit".
(xtensa_read_table_entries): Remove bfd argument in call to
xtensa_get_property_section_name.  Free section name when done.
(elf_xtensa_combine_prop_entries): Free leaking table.

gas ChangeLog:

2003-10-14  Bob Wilson  <bob.wilson@acm.org>

* config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
argument in call to xtensa_get_property_section_name.  Formatting.

include ChangeLog:

2003-10-14  Bob Wilson  <bob.wilson@acm.org>

* elf/xtensa.h: Formatting.  Fix comments about property section
names for linkonce sections.

21 years ago * gettext.m4: Properly quote arguments to AC_DEFUN.
Nathanael Nerode [Tue, 14 Oct 2003 21:40:44 +0000 (21:40 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.

21 years ago * frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
Kevin Buettner [Tue, 14 Oct 2003 20:44:46 +0000 (20:44 +0000)]
* frv-tdep.c (frv_frame_this_id): Call inside_entry_func()
instead of deprecated_inside_entry_file().

21 years ago * gdb.texinfo (Breakpoint related warnings): New node.
Kevin Buettner [Tue, 14 Oct 2003 20:23:29 +0000 (20:23 +0000)]
  * gdb.texinfo (Breakpoint related warnings): New node.
  * gdbint.texinfo (ADJUST_BREAKPOINT_ADDRESS): Document.

21 years ago * sh-tdep.c: Fix two copy/paste hangovers in comments.
Corinna Vinschen [Tue, 14 Oct 2003 15:35:43 +0000 (15:35 +0000)]
* sh-tdep.c: Fix two copy/paste hangovers in comments.
(sh_push_dummy_call_fpu): Accomodate double passing in little endian
mode.
(sh3e_sh4_extract_return_value): Ditto.

21 years ago * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
Richard Henderson [Tue, 14 Oct 2003 06:51:14 +0000 (06:51 +0000)]
    * f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.
        * f-valprint.c (f_val_print): Likewise.  Tweak TYPE_CODE_PTR to
        match c_val_print a bit closer.

21 years ago * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
Danny Smith [Tue, 14 Oct 2003 06:26:31 +0000 (06:26 +0000)]
* pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
to identify data symbols.

21 years ago * frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
Kevin Buettner [Tue, 14 Oct 2003 00:30:27 +0000 (00:30 +0000)]
* frv-tdep.c (max_instrs_per_bundle, frv_instr_size): New constants.
(frv_gdbarch_adjust_breakpoint_address): New function.
(frv_gdbarch_init): Initialize ``gdbarch_adjust_breakpoint_address''
method.

21 years agodaily update
Alan Modra [Tue, 14 Oct 2003 00:00:28 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 14 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * breakpoint.h (struct breakpoint): Add new member
Kevin Buettner [Mon, 13 Oct 2003 23:53:20 +0000 (23:53 +0000)]
* breakpoint.h (struct breakpoint): Add new member
``requested_address''.
* breakpoint.c (breakpoint_adjustment_warning)
(adjust_breakpoint_address): New static functions.
(print_it_typical): Issue warning if breakpoint's address is different
from its requested address.
(set_raw_breakpoint, set_longjmp_resume_breakpoint, watch_command_1)
(breakpoint_re_set_one):  Set breakpoint's
``requested_address'' field.  Set ``address'' field to the
result of calling adjust_breakpoint_address() on the requested
address.

21 years ago * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
Kevin Buettner [Mon, 13 Oct 2003 23:41:40 +0000 (23:41 +0000)]
  * gdbarch.sh (ADJUST_BREAKPOINT_ADDRESS): New method.
  * gdbarch.h, gdbarch.c: Regenerate.

21 years ago * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
Nathanael Nerode [Mon, 13 Oct 2003 21:45:29 +0000 (21:45 +0000)]
* Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset of
HOST_FLAGS_TO_PASS.
* Makefile.in: Regenerate.

21 years ago * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
Richard Sandiford [Mon, 13 Oct 2003 19:51:10 +0000 (19:51 +0000)]
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
(_bfd_mips_elf_finish_dynamic_symbol): Don't handle them.  Don't
handle DT_MIPS_MSYM.  Set DT_RELSZ based on the number of relocations
that were needed.
(_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
(_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.

21 years ago * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
Richard Sandiford [Mon, 13 Oct 2003 19:48:39 +0000 (19:48 +0000)]
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
definition from elf64btsmip.sh.
(TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
* emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
* emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
(EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
Define __program_header_table in terms of __elf_header.

21 years ago * gdb.threads/killed.exp: Use gdb_run_cmd.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:32:51 +0000 (16:32 +0000)]
* gdb.threads/killed.exp: Use gdb_run_cmd.

21 years ago * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
Daniel Jacobowitz [Mon, 13 Oct 2003 16:30:45 +0000 (16:30 +0000)]
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.

21 years ago * linux-low.c (linux_resume): Take a struct thread_resume *
Daniel Jacobowitz [Mon, 13 Oct 2003 16:17:21 +0000 (16:17 +0000)]
* linux-low.c (linux_resume): Take a struct thread_resume *
argument.
(linux_wait): Update call.
(resume_ptr): New static variable.
(linux_continue_one_thread): Renamed from
linux_continue_one_process.  Use resume_ptr.
(linux_resume): Use linux_continue_one_thread.
* server.c (handle_v_cont, handle_v_requests): New functions.
(myresume): New function.
(main): Handle 'v' case.
* target.h (struct thread_resume): New type.
(struct target_ops): Change argument of "resume" to struct
thread_resume *.
(myresume): Delete macro.

21 years ago * gdb.texinfo (Remote Protocol): Document v and vCont.
Daniel Jacobowitz [Mon, 13 Oct 2003 16:11:57 +0000 (16:11 +0000)]
* gdb.texinfo (Remote Protocol): Document v and vCont.

21 years agobfd/
H.J. Lu [Mon, 13 Oct 2003 15:55:51 +0000 (15:55 +0000)]
bfd/

2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in.h (bfd_elf32_ia64_after_parse): New prototype.
(bfd_elf64_ia64_after_parse): Likewise.
* bfd-in2.h: Regenerated.

* elfxx-ia64.c (oor_ip): New.
(oor_branch_size): Likewise.
(bfd_elfNN_ia64_after_parse): Likewise.
(elfNN_ia64_relax_section): Use oor_ip if oor_branch_size
equals sizeof (oor_ip).

ld/

2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (eelf64_ia64.c): Also depend on
$(srcdir)/emultempl/ia64elf.em.
* Makefile.in: Regenerated.

* emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.

* emultempl/ia64elf.em: New.

21 years ago * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
Corinna Vinschen [Mon, 13 Oct 2003 09:13:43 +0000 (09:13 +0000)]
* gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
type, based on char type.
(struct bit_flags_short_t): New bitfield type, based on short type.
(init_bit_flags_char): New fuction.
(init_bit_flags_short): Ditto.
(print_bit_flags_char): Ditto.
(print_bit_flags_short): Ditto.
(main): Add handling for bit_flags_char_t and bit_flags_short_t.