platform/upstream/binutils.git
23 years ago * elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
Alan Modra [Sat, 23 Jun 2001 10:03:53 +0000 (10:03 +0000)]
* elf32-i386.c (struct elf_i386_pcrel_relocs_copied): Rename to
elf_i386_dyn_relocs.  Update comment.
(struct elf_i386_link_hash_entry): Rename pcrel_relocs_copied to
dyn_relocs.
(elf_i386_adjust_dynamic_symbol): Remove a BFD_ASSERT, change
others to aborts.
(allocate_plt_and_got_and_discard_relocs): Replace BFD_ASSERT with
abort.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.  Tidy R_386_GOT32 and error
handling code.

23 years ago Avoid creating COPY relocs if possible.
Alan Modra [Sat, 23 Jun 2001 05:54:15 +0000 (05:54 +0000)]
Avoid creating COPY relocs if possible.
* elf32-i386.c (elf_i386_check_relocs): Tweak condition under
which .got created.  Mark symbols used by R_386_32 and R_386_PC32
relocs as ELF_LINK_NON_GOT_REF to create COPY relocs only when the
reloc is in a read-only section.  Instead, allocate space for a
dynamic reloc to reference the library symbol directly.  Keep
track of space we allocate using pcrel_relocs_copied.
(discard_copies): Delete, and move code to ..
(allocate_plt_and_got): ..here.  Rename to
allocate_plt_and_got_and_discard_relocs.  Remove unneeded dynamic
relocs for non-shared link.
(elf_i386_size_dynamic_sections): Update calls to above functions.
(elf_i386_relocate_section): Write out the dynamic relocs.  Add
more ugly logic to avoid "unresolvable relocation" error.  Use
htab shortcut in place of elf_hash_table macro.
(elf_i386_finish_dynamic_sections): Allow that dynamic .got may
not always be created now.

23 years ago2001-06-22 Michael Chastain <chastain@redhat.com>
Michael Chastain [Sat, 23 Jun 2001 05:22:46 +0000 (05:22 +0000)]
2001-06-22  Michael Chastain  <chastain@redhat.com>

* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
This is operationally compatible with the previous version.

23 years ago*** empty log message ***
gdbadmin [Sat, 23 Jun 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-22 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 22 Jun 2001 21:10:01 +0000 (21:10 +0000)]
2001-06-22  Eric Christopher  <echristo@redhat.com>

* mips-opc.c: Move prefx to start of the table.

23 years ago* configure.in: include nlist.h when checking for member som_addr
J.T. Conklin [Fri, 22 Jun 2001 16:01:31 +0000 (16:01 +0000)]
* configure.in: include nlist.h when checking for member som_addr
in struct so_map.
* configure: regenerate.

23 years agoDocument md_atof
Nick Clifton [Fri, 22 Jun 2001 09:32:09 +0000 (09:32 +0000)]
Document md_atof

23 years agoAdd missing support for -o option.
Nick Clifton [Fri, 22 Jun 2001 09:02:05 +0000 (09:02 +0000)]
Add missing support for -o option.

23 years agoFix over-optimisation of ST instruction.
Nick Clifton [Fri, 22 Jun 2001 08:55:05 +0000 (08:55 +0000)]
Fix over-optimisation of ST instruction.

23 years agoAdd wdebug instruction
Nick Clifton [Fri, 22 Jun 2001 08:21:14 +0000 (08:21 +0000)]
Add wdebug instruction

23 years agoAdd %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
Nick Clifton [Fri, 22 Jun 2001 08:17:57 +0000 (08:17 +0000)]
Add %mrp (millicode return pointer) alias for %r2 or %r31, depending on 32 or
64 bit architecture.

23 years ago*** empty log message ***
gdbadmin [Fri, 22 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * cli-out.c (cli_out_new): Initialize new structure member
Keith Seitz [Thu, 21 Jun 2001 22:54:06 +0000 (22:54 +0000)]
* cli-out.c (cli_out_new): Initialize new structure member
"suppress_output".

23 years agoAllow adrCCl. [Patch from Phillip BLundel]
Nick Clifton [Thu, 21 Jun 2001 19:46:54 +0000 (19:46 +0000)]
Allow adrCCl.  [Patch from Phillip BLundel]
Updated ARM tests.

23 years ago* mi-out.c (struct ui_out_data): Replace field first_header with
Andrew Cagney [Thu, 21 Jun 2001 19:27:50 +0000 (19:27 +0000)]
* mi-out.c (struct ui_out_data): Replace field first_header with
suppress_output.
(mi_begin, mi_end): Check suppress_header.
(mi_field_int, mi_field_skip): Ditto.
(mi_field_string, mi_field_fmt): Ditto.
(mi_table_begin): When nr_rows is zero, set suppress_header else,
output the start of the header.
(mi_table_body): Clear suppress header.

23 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
Andreas Jaeger [Thu, 21 Jun 2001 16:33:14 +0000 (16:33 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of
shared libraries.

23 years agoOutput ``[]'' when a list.
Andrew Cagney [Thu, 21 Jun 2001 16:15:20 +0000 (16:15 +0000)]
Output ``[]'' when a list.

23 years ago* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
Andrew Cagney [Thu, 21 Jun 2001 15:39:54 +0000 (15:39 +0000)]
* ui-out.h (ui_out_table_header): Add parameter ``col_name''.
(table_header_ftype): Ditto.
* cli-out.c (cli_table_header): Update.
* ui-out.c (ui_out_table_header): Update.
(uo_table_header): Update.
(default_table_header): Update.
(append_header_to_list): Update.
(struct ui_out_header): Add field ``col_name''.
(append_header_to_list): Use xstrdup.  Initialize col_name.
* breakpoint.c (breakpoint_1): Pass COL_NAME to
ui_out_table_header.

23 years agoFix typos
Nick Clifton [Thu, 21 Jun 2001 07:44:32 +0000 (07:44 +0000)]
Fix typos

23 years ago * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
Alan Modra [Thu, 21 Jun 2001 06:12:11 +0000 (06:12 +0000)]
* config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
(md_apply_fix): Use it here.  Replace printf with equivalent
as_bad_where.
(tc_gen_reloc): Use as_bad_where instead of as_bad.
(md_apply_fix): Here too.
* config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
* config/tc-m68k.c (tc_gen_reloc): Likewise.
(md_convert_frag_1): Likewise.

23 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
Alan Modra [Thu, 21 Jun 2001 05:47:12 +0000 (05:47 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always
allocate local .got space.  Use shortcuts from hash table for .got
and .plt rather than comparing section names.
(elf32_hppa_check_relocs): Use local_plt_refcounts var rather than
adjusting index into local_got_refcounts to document what we are
really doing.
(elf32_hppa_relocate_section): Similarly for local_plt_offsets.
Tidy .got and .plt error checking.

23 years ago*** empty log message ***
gdbadmin [Thu, 21 Jun 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * ld.texinfo (Options, -r): Mention restrictions when using
Hans-Peter Nilsson [Wed, 20 Jun 2001 22:40:13 +0000 (22:40 +0000)]
* ld.texinfo (Options, -r): Mention restrictions when using
different object formats.

23 years ago * bfdint.texi (BFD relocation functions) <different formats>:
Hans-Peter Nilsson [Wed, 20 Jun 2001 22:23:23 +0000 (22:23 +0000)]
* bfdint.texi (BFD relocation functions) <different formats>:
Mention that the GNU linker is aware of input-output format
restrictions when generating relocatable output.  Make new
paragraph for final-link case.
(BFD target vector swap): Fix typo.

23 years ago * elf-bfd.h (struct elf_backend_data):
Catherine Moore [Wed, 20 Jun 2001 20:34:10 +0000 (20:34 +0000)]
    * elf-bfd.h (struct elf_backend_data):
        elf_backend_emit_relocs: New field: Function for emitting
        relocs.
        elf_backend_count_relocs: New field: Function for determining
        the number of relocs to be emitted.
        * elfxx-target.h: Provide default (NULL) values for
        elf_backend_emit_relocs and elf_backend_count_relocs.
        * elflink.h (elf_link_size_reloc_section): Make the hash table
        big enough to hold the relocs counted by either reloc_count or
        o->reloc_count.
        (elf_bfd_final_link) emit_relocs: New boolean, set if relocs
        should be emitted, either because of a command line option
        stored in the info structure or because the target provides a
        special reloc emitting function.
        If the target provides a reloc counting function use it,
        unless performing a relocatable link or emitting all relocs.
        Also set the SEC_RELOC flag on any output section which will
        contain relocs.
        (elf_link_input_bfd): emit_relocs: New boolean, set if relocs
        should be emitted, either because of a command line option
        stored in the info structure or because the target provides a
        special reloc emitting function.
        If the target provides a reloc emitting function, use it,
        unless performing a relocatable link or emitting all relocs.

23 years ago2001-06-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 20 Jun 2001 18:54:52 +0000 (18:54 +0000)]
2001-06-20  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_size_dynamic_sections): Always
allocate local .got space.

23 years agoFix for problem with default alignment of .comm
Tom Rix [Wed, 20 Jun 2001 13:34:10 +0000 (13:34 +0000)]
Fix for problem with default alignment of .comm

23 years ago*** empty log message ***
gdbadmin [Wed, 20 Jun 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* cli-out.c: Include "gdb_assert.h'.
Andrew Cagney [Tue, 19 Jun 2001 20:30:11 +0000 (20:30 +0000)]
* cli-out.c: Include "gdb_assert.h'.
(struct ui_out_data): Add field ``suppress_output.
(cli_table_begin): When NR_ROWS is zero, suppress_output.
(cli_table_end): Clear suppress_output.
(cli_table_body): Check suppress_output.
(cli_table_header, cli_begin): Ditto.
(cli_end, cli_field_int, cli_field_skip): Ditto.
(cli_field_string, cli_field_fmt, cli_spaces): Ditto.
(cli_text, cli_message, cli_wrap_hint): Ditto.
* breakpoint.c (breakpoint_1): Close the ui_out table before
printing the breakpoint not found message.

23 years ago * ldlang.c (lang_check): Emit fatal error if relocatable link
Hans-Peter Nilsson [Tue, 19 Jun 2001 19:57:39 +0000 (19:57 +0000)]
* ldlang.c (lang_check): Emit fatal error if relocatable link
between different object flavours with relocations in input.

23 years ago2001-06-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 19 Jun 2001 18:16:52 +0000 (18:16 +0000)]
2001-06-19  H.J. Lu <hjl@gnu.org>

* doc/Makefile.in: Regenerated.

23 years agoRestore file accidentally deleted during man page cleanup
Nick Clifton [Tue, 19 Jun 2001 16:26:43 +0000 (16:26 +0000)]
Restore file accidentally deleted during man page cleanup

23 years ago* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
Andrew Cagney [Tue, 19 Jun 2001 16:19:16 +0000 (16:19 +0000)]
* ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
(default_table_begin): Ditto.
* breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
ui_out_table_begin.
Update everything.

23 years ago2001-06-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 19 Jun 2001 15:22:39 +0000 (15:22 +0000)]
2001-06-19  H.J. Lu  <hjl@gnu.org>

* ld.texinfo (-E, --export-dynamic): Mention --version-script.
(--version-script): Mention the language support.

23 years ago2001-06-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 19 Jun 2001 14:39:02 +0000 (14:39 +0000)]
2001-06-19  H.J. Lu <hjl@gnu.org>

* ldlang.c (lang_check): Revert the change mode on 2001-06-15.

23 years ago(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.
Andreas Jaeger [Tue, 19 Jun 2001 13:30:40 +0000 (13:30 +0000)]
(elf64_x86_64_relocate_section): Fix creation of dynamic symbols.

23 years agoRemove auot generated man pages
Nick Clifton [Tue, 19 Jun 2001 11:57:29 +0000 (11:57 +0000)]
Remove auot generated man pages

23 years ago * Makefile.in: Revert 2001-06-17.
Alan Modra [Tue, 19 Jun 2001 09:21:33 +0000 (09:21 +0000)]
* Makefile.in: Revert 2001-06-17.
(VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/.

23 years ago * binutils-all/readelf.r: Don't check for specific info value to
Andreas Jaeger [Tue, 19 Jun 2001 08:16:26 +0000 (08:16 +0000)]
* binutils-all/readelf.r: Don't check for specific info value to
pass testsuite on ia64 and alpha.

23 years ago2001-06-18 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 19 Jun 2001 07:33:21 +0000 (07:33 +0000)]
2001-06-18  Philip Blundell  <philb@gnu.org>

* config/tc-arm.c (do_msr): Remove restriction on usage of
immediate operands.

23 years ago * dwarf2dbg.c (dwarf2_finish): Output file info even when no
Alan Modra [Tue, 19 Jun 2001 05:40:55 +0000 (05:40 +0000)]
* dwarf2dbg.c (dwarf2_finish): Output file info even when no
line info.

23 years ago*** empty log message ***
gdbadmin [Tue, 19 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Hans-Peter Nilsson [Mon, 18 Jun 2001 22:20:57 +0000 (22:20 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
* mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
* ld.h (args_type): Remove member export_dynamic.  All users
changed to use struct bfd_link_info member.

23 years ago * elflink.h (struct elf_assign_sym_version_info): Remove member
Hans-Peter Nilsson [Mon, 18 Jun 2001 22:05:10 +0000 (22:05 +0000)]
* elflink.h (struct elf_assign_sym_version_info): Remove member
export_dynamic.  All users changed to use info member.
NAME(bfd_elf,size_dynamic_sections)): Remove parameter
export_dynamic, instead use member in parameter info.
* bfd-in.h (bfd_elf32_size_dynamic_sections,
bfd_elf64_size_dynamic_sections): Update prototype.
* bfd-in2.h: Regenerate.

23 years agomerge from gcc
DJ Delorie [Mon, 18 Jun 2001 21:16:33 +0000 (21:16 +0000)]
merge from gcc

23 years ago * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
Hans-Peter Nilsson [Mon, 18 Jun 2001 20:19:52 +0000 (20:19 +0000)]
* Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
$(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
* Makefile.in: Regenerate.

23 years ago2001-06-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 18 Jun 2001 18:57:06 +0000 (18:57 +0000)]
2001-06-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_info_failed): Add a new field, verdefs.
(NAME(bfd_elf,size_dynamic_sections): Pass verdefs to
elf_export_symbol.
(elf_export_symbol): Check eif->verdefs to decide if a symbol
should be exported.

23 years ago* breakpoint.c (breakpoint_1): Restructure. Compute the
Andrew Cagney [Mon, 18 Jun 2001 18:48:06 +0000 (18:48 +0000)]
* breakpoint.c (breakpoint_1): Restructure.  Compute the
nr_printable_breakpoints.  Move the header output to before the
main print breakpoints loop.
(user_settable_breakpoint): New function.

23 years agoRecognize -i=mi0, -i=mi1 and -i=mi.
Andrew Cagney [Mon, 18 Jun 2001 17:57:43 +0000 (17:57 +0000)]
Recognize -i=mi0, -i=mi1 and -i=mi.

23 years ago2001-06-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 18 Jun 2001 17:23:52 +0000 (17:23 +0000)]
2001-06-18  H.J. Lu  <hjl@gnu.org>

* ldlang.c (init_os): Add the newline to the einfo call.
(lang_check): Likewise.
(lang_do_version_exports_section): Likewise.

23 years ago* gdbarch.sh: Generate an error when conflicting macro
Andrew Cagney [Mon, 18 Jun 2001 13:14:40 +0000 (13:14 +0000)]
* gdbarch.sh: Generate an error when conflicting macro
definitions.  Generate an error when both pure multi-arch and
"tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.

23 years agoClone the mi-*.exp tests into mi0-*.exp.
Andrew Cagney [Mon, 18 Jun 2001 12:55:07 +0000 (12:55 +0000)]
Clone the mi-*.exp tests into mi0-*.exp.

23 years ago*** empty log message ***
gdbadmin [Mon, 18 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 17 Jun 2001 18:40:29 +0000 (18:40 +0000)]
2001-06-17  H.J. Lu <hjl@gnu.org>

* Makefile.in (gas.tar.bz2): Pass TOOL=bfd PACKAGE=gas to make.
(gas+binutils.tar.bz2): Likewise.
(binutils.tar.bz2): Pass TOOL=bfd PACKAGE=binutils to make.

23 years agoSolaris native is only multi-arch partial.
Andrew Cagney [Sun, 17 Jun 2001 16:57:28 +0000 (16:57 +0000)]
Solaris native is only multi-arch partial.

23 years ago2001-06-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 17 Jun 2001 16:14:42 +0000 (16:14 +0000)]
2001-06-17  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_link_hash_entry): Add a new field,
readonly_reloc, to record if a relocation in the .rel.dyn
section is against a read-only section.
(mips_elf_link_hash_newfunc): Initialize the readonly_reloc
field to false.
(_bfd_mips_elf_check_relocs): Record if there is a relocation
in the .rel.dyn section against a read-only section by setting
DF_TEXTREL or readonly_reloc.
(_bfd_mips_elf_copy_indirect_symbol): Copy readonly_reloc if
it is true.
(_bfd_mips_elf_adjust_dynamic_symbol): Record DF_TEXTREL if
there is a relocation in the .rel.dyn section against a
read-only section.
(_bfd_mips_elf_size_dynamic_sections): Set DT_TEXTREL if
DF_TEXTREL is set.

23 years ago2001-06-17 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Sun, 17 Jun 2001 15:16:12 +0000 (15:16 +0000)]
2001-06-17  Fernando Nasser  <fnasser@redhat.com>

From 2001-06-15  Eirik Fuller  <eirik@hackrat.com>
* cli/cli-script.c (free_command_lines): Reset list pointer.

23 years ago * annotate.texi: Add @noindent where needed. From Dmitry
Eli Zaretskii [Sun, 17 Jun 2001 07:00:34 +0000 (07:00 +0000)]
* annotate.texi: Add @noindent where needed.  From Dmitry
Sivachenko <dima@Chg.RU>.
* gdb.texinfo: Indexing fix.  From Dmitry Sivachenko.

23 years ago*** empty log message ***
gdbadmin [Sun, 17 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* arch-utils.c (init_frame_pc_default): New function
Andrew Cagney [Sat, 16 Jun 2001 20:00:24 +0000 (20:00 +0000)]
* arch-utils.c (init_frame_pc_default): New function
* arch-utils.h (init_frame_pc_default): Declare.
* gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
not init_frame_pc_noop.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (INIT_FRAME_PC): Delete macro definition.
* mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
init_frame_pc_noop.

23 years agoregenerate gdbarch.c.
Andrew Cagney [Sat, 16 Jun 2001 19:48:01 +0000 (19:48 +0000)]
regenerate gdbarch.c.

23 years agoFix typo.
Andrew Cagney [Sat, 16 Jun 2001 19:42:35 +0000 (19:42 +0000)]
Fix typo.

23 years ago* gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
Andrew Cagney [Sat, 16 Jun 2001 18:57:56 +0000 (18:57 +0000)]
* gdbmi.texinfo (GDB/MI Output Syntax): Add tuples and lists to
syntax.
(GDB/MI Draft Changes to Output Syntax): Delete section.

23 years ago2001-06-15 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Sat, 16 Jun 2001 16:00:46 +0000 (16:00 +0000)]
2001-06-15  Aldy Hernandez  <aldyh@redhat.com>

* m10300-opc.c (mn10300_opcodes): Change opcode for AM33 subc.

23 years ago2001-06-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 16 Jun 2001 03:41:45 +0000 (03:41 +0000)]
2001-06-15  H.J. Lu  <hjl@gnu.org>

* lexsup.c (parse_args); Save optind to report unrecognized
option.

23 years ago*** empty log message ***
gdbadmin [Sat, 16 Jun 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoMulti-arch CANNOT_FETCH_REGISTER() and CANNOT_STORE_REGISTER().
Andrew Cagney [Fri, 15 Jun 2001 23:50:46 +0000 (23:50 +0000)]
Multi-arch CANNOT_FETCH_REGISTER() and CANNOT_STORE_REGISTER().

23 years ago2001-06-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 15 Jun 2001 23:26:08 +0000 (23:26 +0000)]
2001-06-15  Elena Zannoni  <ezannoni@redhat.com>

       * configure.in: Add -fsigned-char to LOCAL_CFLAGS for Linux
       running on the IBM S/390.
       * configure: Ditto.

23 years agoMulti-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().
Andrew Cagney [Fri, 15 Jun 2001 23:10:55 +0000 (23:10 +0000)]
Multi-arch INIT_FRAME_PC() and INIT_FRAME_PC_FIRST().

23 years ago2001-06-15 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 15 Jun 2001 22:44:20 +0000 (22:44 +0000)]
2001-06-15  Michael Snyder  <msnyder@redhat.com>

* infrun.c (context_switch): New function.  Abstract the operation
of saving and restoring infrun's state when switching threads.
(handle_inferior_event): Normalize the handling of the 'thread hop'
event (when the wrong thread hits a thread-specific breakpoint,
and we need to solo-step that thread past the breakpoint).
Call keep_going, instead of target_resume.  Handle the subsequent
singlestep-trap as a normal event instead of just resuming.

23 years agomulti-arch ADDR_BITS_REMOVE.
Andrew Cagney [Fri, 15 Jun 2001 22:10:21 +0000 (22:10 +0000)]
multi-arch ADDR_BITS_REMOVE.

23 years ago * dwarf2.h: Partial merge with gcc version.
Per Bothner [Fri, 15 Jun 2001 19:53:18 +0000 (19:53 +0000)]
* dwarf2.h:  Partial merge with gcc version.
(enum dwarf_descrim_list):  Fix typo -> dwarf_discrim_list.
(DW_LANG_Java):  Use value from dwarf 2.1 draft (also used in gcc).

23 years agoRecognise the s390 host and target.
Andrew Cagney [Fri, 15 Jun 2001 19:23:45 +0000 (19:23 +0000)]
Recognise the s390 host and target.

23 years ago* gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
Andrew Cagney [Fri, 15 Jun 2001 19:19:23 +0000 (19:19 +0000)]
* gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
(EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
predicate.
* gdbarch.h, gdbarch.c: Regenerate.
* values.c (value_being_returned): Change the reference to
EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.

23 years agoAdd Paul Hilfinger and Joel Brobecker to the Write After Approval list.
Joel Brobecker [Fri, 15 Jun 2001 15:43:05 +0000 (15:43 +0000)]
Add Paul Hilfinger and Joel Brobecker to the Write After Approval list.

23 years ago * ldlang.c (lang_check): Emit fatal error if relocatable link
Hans-Peter Nilsson [Fri, 15 Jun 2001 13:13:46 +0000 (13:13 +0000)]
* ldlang.c (lang_check): Emit fatal error if relocatable link
between different object flavours.

23 years ago * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
Hans-Peter Nilsson [Fri, 15 Jun 2001 13:02:23 +0000 (13:02 +0000)]
* lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:
Set new link_info member export_dynamic.
* ldmain.c (main): Initialize new link_info member export_dynamic.

23 years ago * bfdlink.h (struct bfd_link_info): New member export_dynamic.
Hans-Peter Nilsson [Fri, 15 Jun 2001 12:57:02 +0000 (12:57 +0000)]
* bfdlink.h (struct bfd_link_info): New member export_dynamic.

23 years agoChnage styp_flags_to_sec_flags() to a boolean function
Nick Clifton [Fri, 15 Jun 2001 09:03:14 +0000 (09:03 +0000)]
Chnage styp_flags_to_sec_flags() to a boolean function

23 years agoChnage load_symbols() to a boolean function
Nick Clifton [Fri, 15 Jun 2001 09:00:11 +0000 (09:00 +0000)]
Chnage load_symbols() to a boolean function

23 years ago*** empty log message ***
gdbadmin [Fri, 15 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFix doco on ``!'' and ``R'' packets.
Andrew Cagney [Thu, 14 Jun 2001 22:10:46 +0000 (22:10 +0000)]
Fix doco on ``!'' and ``R'' packets.

23 years agoIndex: opcodes/ChangeLog
Geoffrey Keating [Thu, 14 Jun 2001 20:38:42 +0000 (20:38 +0000)]
Index: opcodes/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen-asm.c (cgen_parse_keyword): When looking for the
boundaries of a keyword, allow any special characters
that are actually in one of the allowed keyword.
* cgen-opc.c (cgen_keyword_add): Add any special characters
to the nonalpha_chars field.

Index: cgen/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* desc.scm (<keyword> 'gen-defn): Add extra zero into
CGEN_KEYWORD_ENTRY initializers.

Index: include/opcode/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen.h (cgen_keyword): Add nonalpha_chars field.

23 years ago2001-06-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 14 Jun 2001 19:27:45 +0000 (19:27 +0000)]
2001-06-14  Michael Snyder  <msnyder@redhat.com>

* remote.c (show_remote_protocol_qSymbol_packet_cmd,
set_remote_protocol_qSymbol_packet_cmd): New functions.
(init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
(remote_check_symbols): New function.  Implement qSymbol packet,
allowing target to request symbol lookup service from gdb.
(remote_open_1, remote_async_open_1): Call remote_check_symbols,
allowing symbol lookup from exec_bfd on connection to target.
(remote_new_objfile): New function.  Catch new objfile notifications
from shared library module, and call remote_check_symbols.
(_initialize_remote): Hook remote_new_objfile into the shared
library notification chain.  Add "set remote symbol-lookup" command.

23 years ago2001-06-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 14 Jun 2001 19:17:00 +0000 (19:17 +0000)]
2001-06-13  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".

23 years ago * tracepoint.c (trace_command): We now have tracepoint
Keith Seitz [Thu, 14 Jun 2001 17:09:36 +0000 (17:09 +0000)]
* tracepoint.c (trace_command): We now have tracepoint
events. Get rid of those ugly hooks.
(tracepoint_operation): Likewise.
(trace_pass_command): Likewise.

23 years ago2001-06-13 Philip Blundell <philb@gnu.org>
Phil Blundell [Thu, 14 Jun 2001 07:58:12 +0000 (07:58 +0000)]
2001-06-13  Philip Blundell  <philb@gnu.org>

* config/tc-arm.c (thumb_shift): Improve wording of error message.
(do_t_arit): Likewise.

23 years ago* lib/gdb.exp (gdb_test): Doc fix.
Jim Blandy [Thu, 14 Jun 2001 00:12:32 +0000 (00:12 +0000)]
* lib/gdb.exp (gdb_test): Doc fix.

23 years ago*** empty log message ***
gdbadmin [Thu, 14 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 13 Jun 2001 22:56:16 +0000 (22:56 +0000)]
2001-06-13  Michael Snyder  <msnyder@redhat.com>

        * gdbthread.h (struct thread_info): Add new fields:
        current_line, current_symtab, step_sp, for saved infrun state.
        * thread.c (save_infrun_state, load_infrun_state): Save and
        restore current_line, current_symtab, and step_sp.
        (add_thread): Rather than adding assignments to initialize
the new fields, just use memset (tp, 0, sizeof (*tp).
This way future new fields will not be overlooked.
        * infrun.c (handle_inferior_event): Save and restore save_sp,
        current_line, and current_symtab when switching threads.

23 years ago2001-06-13 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 13 Jun 2001 21:00:39 +0000 (21:00 +0000)]
2001-06-13  Elena Zannoni  <ezannoni@redhat.com>

       * MAINTAINERS: Add Andrew Cagney as co-maintainer of
       testsuite/gdb.mi.

23 years agoHandle GDB's gdb/version.in.
Andrew Cagney [Wed, 13 Jun 2001 19:00:22 +0000 (19:00 +0000)]
Handle GDB's gdb/version.in.

23 years agos/basename/lbasename/ clean up consequences of assuming lbasename()
Andrew Cagney [Wed, 13 Jun 2001 18:30:07 +0000 (18:30 +0000)]
s/basename/lbasename/ clean up consequences of assuming lbasename()
returns const char *.

23 years agoStop sh-coff port from trying to call dwarf2 debug functions
Nick Clifton [Wed, 13 Jun 2001 16:46:05 +0000 (16:46 +0000)]
Stop sh-coff port from trying to call dwarf2 debug functions

23 years ago * gas/vtable/vtable.exp (run_list_test): Don't run on sparc64.
Andreas Jaeger [Wed, 13 Jun 2001 13:42:42 +0000 (13:42 +0000)]
* gas/vtable/vtable.exp (run_list_test): Don't run on sparc64.

23 years agoFix typo in comment
Nick Clifton [Wed, 13 Jun 2001 11:29:53 +0000 (11:29 +0000)]
Fix typo in comment

23 years agoRegernate after recent change to as.texinfo
Nick Clifton [Wed, 13 Jun 2001 11:26:37 +0000 (11:26 +0000)]
Regernate after recent change to as.texinfo

23 years agoRebuild after recent change to gprof.texi
Nick Clifton [Wed, 13 Jun 2001 11:26:05 +0000 (11:26 +0000)]
Rebuild after recent change to gprof.texi

23 years ago * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
Eli Zaretskii [Wed, 13 Jun 2001 09:08:05 +0000 (09:08 +0000)]
* config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
(SLASH_STRING): Remove unised definitions.
* config/i386/xm-cygwin.h: Likewise.

23 years ago * gdb.texinfo (Signals): Clarify the default setting of signal
Eli Zaretskii [Wed, 13 Jun 2001 08:40:23 +0000 (08:40 +0000)]
* gdb.texinfo (Signals): Clarify the default setting of signal
handling.