platform/upstream/binutils.git
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.

23 years agoOnly pad the tesxt section if the data section is going to follow it.
Nick Clifton [Wed, 13 Jun 2001 07:58:05 +0000 (07:58 +0000)]
Only pad the tesxt section if the data section is going to follow it.

23 years ago * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
Hans-Peter Nilsson [Wed, 13 Jun 2001 03:08:21 +0000 (03:08 +0000)]
* config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,
OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide
default.

* lib/ld-lib.exp (run_dump_test): Import from gas testsuite.  Add
new options "ld", "source", "xfail", "target", "notarget" and
"error".  Support the runtest_file_p "*.exp=testname" feature.
(slurp_options, regexp_diff, file_contents, verbose_eval): Import
from gas testsuite.

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

23 years ago * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
Catherine Moore [Tue, 12 Jun 2001 17:44:38 +0000 (17:44 +0000)]
    * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
        with the file_align entry from elf_backend_data.
        (elf_gc_smash_unused_vtentry_relocs): Likewise.
        (elf_gc_record_vtentry): Likewise.

23 years agoRemove self
Daniel Berlin [Tue, 12 Jun 2001 17:44:33 +0000 (17:44 +0000)]
Remove self

23 years ago* ui-out.c (ui_out_list_begin): Add parameter ``id''.
Andrew Cagney [Tue, 12 Jun 2001 16:44:36 +0000 (16:44 +0000)]
* ui-out.c (ui_out_list_begin): Add parameter ``id''.
(make_cleanup_ui_out_list_begin_end): Ditto.  Open the list.
* ui-out.h: Update declarations.

23 years agoCorrect setup_xfail rule.
Nick Clifton [Tue, 12 Jun 2001 16:02:13 +0000 (16:02 +0000)]
Correct setup_xfail rule.

23 years agoDocument use of comparison operators as infix operators
Nick Clifton [Tue, 12 Jun 2001 15:56:04 +0000 (15:56 +0000)]
Document use of comparison operators as infix operators

23 years agos/char */const char */
Andrew Cagney [Tue, 12 Jun 2001 15:03:04 +0000 (15:03 +0000)]
s/char */const char */

23 years agomerge from gcc
DJ Delorie [Tue, 12 Jun 2001 13:16:43 +0000 (13:16 +0000)]
merge from gcc

23 years agoAdd lgh instruction.
Nick Clifton [Tue, 12 Jun 2001 11:50:53 +0000 (11:50 +0000)]
Add lgh instruction.

23 years agoBytes stored in target order, not host order.
Nick Clifton [Tue, 12 Jun 2001 10:39:40 +0000 (10:39 +0000)]
Bytes stored in target order, not host order.

23 years agoFix m68k/mri mode problems.
Nick Clifton [Tue, 12 Jun 2001 10:35:24 +0000 (10:35 +0000)]
Fix m68k/mri mode problems.

23 years agofix test for overlflow of literal pool
Nick Clifton [Tue, 12 Jun 2001 08:27:53 +0000 (08:27 +0000)]
fix test for overlflow of literal pool

23 years ago * gas/i386/x86_64.d: Update for 2001-06-11 disassembler change.
Alan Modra [Tue, 12 Jun 2001 02:03:10 +0000 (02:03 +0000)]
* gas/i386/x86_64.d: Update for 2001-06-11 disassembler change.

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

23 years agos/supress/suppress/
Andrew Cagney [Mon, 11 Jun 2001 21:54:04 +0000 (21:54 +0000)]
s/supress/suppress/

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

* NEWS: Updated for the new -n option for the MIPS assembler.

* config/tc-mips.c (md_show_usage): Add -n.

* doc/as.texinfo: Document the new -n option.
* doc/c-mips.texi: Likewise.
* doc/as.1: Regenerated.

23 years agos/char */const char */
Andrew Cagney [Mon, 11 Jun 2001 16:34:47 +0000 (16:34 +0000)]
s/char */const char */

23 years ago2001-06-10 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 11 Jun 2001 16:06:46 +0000 (16:06 +0000)]
2001-06-10  Michael Chastain  <chastain@redhat.com>

* gdb.base/exprs.exp: Remove a duplicate test.

23 years ago * completer.c (gdb_completer_loc_break_characters): New variable.
Eli Zaretskii [Mon, 11 Jun 2001 16:05:25 +0000 (16:05 +0000)]
* completer.c (gdb_completer_loc_break_characters): New variable.
(line_completion_function): If we are completing on locations,
back up the start of word pointer past all characters which can
appear in a location spec.
(location_completer): New function.

* completer.h: Add prototype for location_completer.

* symtab.c (make_source_files_completion_list)
(add_filename_to_list, not_interesting_fname): New functions.
(filename_seen): New function, body extracted from
output_source_filename.
(output_source_filename): Call filename_seen to check if the file
was already printed.
(make_symbol_completion_list): If TEXT includes a
double-quoted string, return an empty list, not NULL.
(make_file_symbol_completion_list): New function, similar to
make_symbol_completion_list but with an additional argument
SRCFILE.

* symtab.h (make_file_symbol_completion_list)
(make_source_files_completion_list): Add prototypes.

* breakpoint.c (_initialize_breakpoint): Make location_completer
be the completion function for all commands which set breakpoints
and watchpoints.
(top-level): #include "completer.h".

* tracepoint.c (_initialize_tracepoint): Make location_completer
be the completion function for the "trace" command.
(top-level): #include "completer.h".

* printcmd.c (_initialize_printcmd): Make location_completer be
the completion function for the "print", "inspect", "call", and
"disassemble" commands.
(top-level): #include "completer.h".

* infcmd.c (_initialize_infcmd): Make location_completer be the
completion function for the "go", "jump", and "until" commands.
(top-level): #include "completer.h".

23 years agoMerge insn decode tables, and generally tidy.
Alan Modra [Mon, 11 Jun 2001 13:25:07 +0000 (13:25 +0000)]
Merge insn decode tables, and generally tidy.

23 years ago2001-06-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 11 Jun 2001 01:07:02 +0000 (01:07 +0000)]
2001-06-10  H.J. Lu  <hjl@gnu.org>

* gas/elf/section2.l: Match various white spaces.

23 years agomerge from gcc
DJ Delorie [Mon, 11 Jun 2001 00:07:54 +0000 (00:07 +0000)]
merge from gcc

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

23 years agoSupport 64bit ELF, not BFD.
H.J. Lu [Sun, 10 Jun 2001 23:05:47 +0000 (23:05 +0000)]
Support 64bit ELF, not BFD.

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

* gas/elf/section2.e: Support 64bit BFD.
* gas/elf/section2.e-mips: Likewise.

23 years agoRemove trailing garbage from previous checkin.
Christopher Faylor [Sun, 10 Jun 2001 16:29:03 +0000 (16:29 +0000)]
Remove trailing garbage from previous checkin.

23 years ago* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
Christopher Faylor [Sun, 10 Jun 2001 16:25:51 +0000 (16:25 +0000)]
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
* values.c (unpack_double): Remove obsolete check for _MSC_VER.
* defs.h: Ditto.
* m32r-rom.c: Ditto.
* p-exp.y: Ditto.
* ser-e7kpc.c: Ditto.  Define WIN32_LEAN_AND_MEAN under _WIN32, for faster
compilation.
(get_ds_base): Remove _MSC_VER version of this function.
* nindy-share/ttyflush.c: Ditto.  X
* rdi-share/host.h: Ditto.  X
* ser-go32.c (dos_readchar): Remove call to obsolete function.
* remote-sim.c (gdb_os_poll_quit): Ditto.
* remote-e7000.c (expect): Remove obsolete #if 0'ed code.
* main.c (captured_main): Eliminate special Cygwin checks.
* ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.

23 years agoBranch hints for Pentium4 as insn modifiers, and some minor tweaks
Alan Modra [Sun, 10 Jun 2001 14:07:12 +0000 (14:07 +0000)]
Branch hints for Pentium4 as insn modifiers, and some minor tweaks
to formatting.

23 years agoMove an entry to the correct ChangeLog.
Alan Modra [Sun, 10 Jun 2001 13:41:43 +0000 (13:41 +0000)]
Move an entry to the correct ChangeLog.

23 years ago * elflink.h: Whitespace changes.
Alan Modra [Sun, 10 Jun 2001 05:21:00 +0000 (05:21 +0000)]
* elflink.h: Whitespace changes.
(elf_link_read_relocs_from_section): Use "unsigned int" iterator
rather than "unsigned char".
(elf_link_output_relocs): Likewise.
(elf_link_input_bfd): Likewise.
(elf_reloc_link_order): LIkewise.
* elf.c: s/CONST/const/.  Whitespace changes.
* elf32-mips.c: Formatting fix.

* Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h.
* Makefile.in: Regenerate.
* po/Make-in: Remove trailing tab.

23 years agoOops (again), missed a comment.
Andrew Cagney [Sun, 10 Jun 2001 01:20:21 +0000 (01:20 +0000)]
Oops (again), missed a comment.

23 years agoMove supress_field_separator logic into mi_open() and mi_close().
Andrew Cagney [Sun, 10 Jun 2001 01:16:14 +0000 (01:16 +0000)]
Move supress_field_separator logic into mi_open() and mi_close().

23 years agoOops. Clean up changelog entry.
Andrew Cagney [Sun, 10 Jun 2001 00:56:06 +0000 (00:56 +0000)]
Oops.  Clean up changelog entry.

23 years agoAdd missing $(ui_out_h) dependencies.
Andrew Cagney [Sun, 10 Jun 2001 00:47:02 +0000 (00:47 +0000)]
Add missing $(ui_out_h) dependencies.

23 years agoMake char *, const char *.
Andrew Cagney [Sun, 10 Jun 2001 00:22:41 +0000 (00:22 +0000)]
Make char *, const char *.

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

23 years ago* sh-opc.h (sh_table): Don't use empty initializers.
Alexandre Oliva [Sat, 9 Jun 2001 22:42:30 +0000 (22:42 +0000)]
* sh-opc.h (sh_table): Don't use empty initializers.

23 years ago2001-06-09 Philip Blundell <philb@gnu.org>
Phil Blundell [Sat, 9 Jun 2001 20:19:29 +0000 (20:19 +0000)]
2001-06-09  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_plt0_entry): Correct error in last
change.
(elf32_arm_plt_entry): Likewise.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 9 Jun 2001 06:25:55 +0000 (06:25 +0000)]
2001-06-08  H.J. Lu  <hjl@gnu.org>

* gas/mips/elfel-rel3.s: Moved to ...
* gas/mips/elf-rel3.s: Here.

* gas/mips/elf-rel3.d: Updated.

* gas/mips/elfel-rel3.d: Updated.

* gas/mips/relax.d: New file.
* gas/mips/relax.s: Likewise.

* gas/mips/mips.exp: Run relax and set xfail.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 9 Jun 2001 05:24:39 +0000 (05:24 +0000)]
2001-06-08  H.J. Lu  <hjl@gnu.org>

* config/tc-mips.c (warn_nops): New variable. Set to 0 to
disable warning about all NOPS that the assembler generates.
(macro): Warn NOPS generated only if warn_nops is not 0.
(md_shortopts): Add `n'.
(md_parse_option): Set warn_nops to 1 for `n'.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 9 Jun 2001 05:01:29 +0000 (05:01 +0000)]
2001-06-08  H.J. Lu  <hjl@gnu.org>

* config/tc-mips.c (mips_ip): Properly handle illegal operands.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 9 Jun 2001 04:54:16 +0000 (04:54 +0000)]
2001-06-08  H.J. Lu  <hjl@gnu.org>

* gas/mips/illegal.s: New file.
* gas/mips/illegal.l: Likewise.

* gas/elf/elf.exp (run_list_test): New.
Run illegal with run_list_test.