platform/upstream/binutils.git
21 years agoFix help messages about demangling styles
Nick Clifton [Thu, 13 Feb 2003 09:53:07 +0000 (09:53 +0000)]
Fix help messages about demangling styles

21 years agomerge from gcc
DJ Delorie [Thu, 13 Feb 2003 02:10:04 +0000 (02:10 +0000)]
merge from gcc

21 years ago*** empty log message ***
gdbadmin [Thu, 13 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
Alan Modra [Wed, 12 Feb 2003 23:21:08 +0000 (23:21 +0000)]
* write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
* config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.

21 years agodaily update
Alan Modra [Wed, 12 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago003-02-12 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 12 Feb 2003 22:33:59 +0000 (22:33 +0000)]
003-02-12  Dave Brolley  <brolley@redhat.com>

        * fr30-desc.c: Regenerate.

21 years ago2003-02-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 12 Feb 2003 15:31:30 +0000 (15:31 +0000)]
2003-02-12  Andrew Cagney  <ac131313@redhat.com>

* event-top.c (cli_command_loop): Delete declaration.
(_initialize_event_loop): Delete function setting event_loop_hook.
* event-top.h (cli_command_loop): Declare.  Update copyright.
(EVENT_TOP_H): Define.  Wrap header in #ifdef EVENT_TOP_H.
* interps.c (current_interp_command_loop): When event_loop_p, call
cli_command_loop.

21 years ago2003-02-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 12 Feb 2003 15:23:20 +0000 (15:23 +0000)]
2003-02-12  Andrew Cagney  <ac131313@redhat.com>

* interps.h (interp_command_loop_ftype): Change return type to
void.

21 years ago2003-02-12 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 12 Feb 2003 15:14:36 +0000 (15:14 +0000)]
2003-02-12  Andrew Cagney  <ac131313@redhat.com>

* tuiIO.c (tui_prep_terminal): Add one notused parameter.
* tui.c (tui_rl_switch_mode): Add two notused parameters.
(tui_rl_change_windows, tui_rl_next_keymap): Ditto.
(tui_rl_delete_other_windows): Ditto.
(tui_rl_change_windows, tui_rl_delete_other_windows): Update
calls.

21 years ago*** empty log message ***
gdbadmin [Wed, 12 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-12 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 11 Feb 2003 23:09:59 +0000 (23:09 +0000)]
2003-02-12  Michal Ludvig  <mludvig@suse.cz>

* x86-64-tdep.c (x86_64_extract_return_value)
(x86_64_store_return_value): Use regcache instead of regbuf.
(x86_64_gdbarch_init): Change related set_gdbarch_* functions.
* x86-64-linux-nat.c (fill_gregset): Use regcache.

21 years agodaily update
Alan Modra [Tue, 11 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years agoFix spelling typo in previous delta
Nick Clifton [Tue, 11 Feb 2003 18:03:44 +0000 (18:03 +0000)]
Fix spelling typo in previous delta

21 years agoAdd new data anchors defenitions.
Nick Clifton [Tue, 11 Feb 2003 18:02:55 +0000 (18:02 +0000)]
Add new data anchors defenitions.

21 years ago2003-02-11 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 11 Feb 2003 16:11:16 +0000 (16:11 +0000)]
2003-02-11  Andrew Cagney  <ac131313@redhat.com>

* acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
TCL_LD_SEARCH_FLAGS.

21 years agoAdd support for configuring *-*-kaos targets.
Nick Clifton [Tue, 11 Feb 2003 13:47:08 +0000 (13:47 +0000)]
Add support for configuring *-*-kaos targets.

21 years ago * elf64-ppc.c (ppc64_elf_check_relocs): Match versioned
Alan Modra [Tue, 11 Feb 2003 03:02:46 +0000 (03:02 +0000)]
* elf64-ppc.c (ppc64_elf_check_relocs): Match versioned
.__tls_get_addr too.
(ppc64_elf_tls_setup): Ensure cached tls_get_addr is not indirect.

21 years ago * hppaelf.em (group_size): Change default back to 1.
Dave Anglin [Tue, 11 Feb 2003 02:20:30 +0000 (02:20 +0000)]
* hppaelf.em (group_size): Change default back to 1.

21 years ago*** empty log message ***
gdbadmin [Tue, 11 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 10 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * ld-sh/tlstpoff-1.d: New.
Kaz Kojima [Mon, 10 Feb 2003 22:19:26 +0000 (22:19 +0000)]
* ld-sh/tlstpoff-1.d: New.
* ld-sh/tlstpoff-2.d: New.
* ld-sh/tlstpoff1.s: New.
* ld-sh/tlstpoff2.s: New.

21 years ago * elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field.
Kaz Kojima [Mon, 10 Feb 2003 22:17:18 +0000 (22:17 +0000)]
* elf32-sh.c (elf_sh_dyn_relocs): Add tls_tpoff32 field.
(elf_sh_link_hash_entry): Remove tls_tpoff32 field.
(sh_elf_link_hash_newfunc): Remove the initialization of
tls_tpoff32 field.
(allocate_dynrelocs): Keep dyn_relocs if it includes the entry
for which tls_tpoff32 flag is set.
(sh_elf_relocate_section): Covert to LE only if the dyn_relocs
of the symbol includes the entry matched with the input_section
and having tls_tpoff32 flag on.  When linking statically, set
symbol index of R_SH_TLS_TPOFF32 relocation to zero if the symbol
is defined in this executable.
(sh_elf_check_relocs): Set tls_tpoff32 flag appropriately.

21 years ago * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE
Jakub Jelinek [Mon, 10 Feb 2003 13:22:12 +0000 (13:22 +0000)]
* elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE
even if there is just non-empty .rela.plt.

21 years ago* dwarf2cfi.c: Reindented.
Michal Ludvig [Mon, 10 Feb 2003 11:50:20 +0000 (11:50 +0000)]
* dwarf2cfi.c: Reindented.

21 years agoAdd function to set machine number based on flags in header.
Nick Clifton [Mon, 10 Feb 2003 11:21:19 +0000 (11:21 +0000)]
Add function to set machine number based on flags in header.

21 years agoAdd support for marking ARM ELF binaries as support the Cirrus EP9312 Maverick
Nick Clifton [Mon, 10 Feb 2003 10:44:48 +0000 (10:44 +0000)]
Add support for marking ARM ELF binaries as support the Cirrus EP9312 Maverick
floating point co-processor.

21 years ago*** empty log message ***
gdbadmin [Mon, 10 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * elf64-ppc.c: Rename assorted occurrences of tls_type and similar
Alan Modra [Sun, 9 Feb 2003 23:17:57 +0000 (23:17 +0000)]
* elf64-ppc.c: Rename assorted occurrences of tls_type and similar
variables, structure fields or function params to tls_mask or
similar to better reflect usage.
(struct got_entry): Comment.
(struct ppc_link_hash_entry):  Expand comment, and renumber TLS_*.
(get_tls_mask): Rename from get_tls_type.

21 years agodaily update
Alan Modra [Sun, 9 Feb 2003 23:00:15 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-09 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 9 Feb 2003 10:47:37 +0000 (10:47 +0000)]
2003-02-09  Andrew Cagney  <ac131313@redhat.com>

* interps.c (clear_interpreter_hooks): Convert function definition
to ISO C.

Index: mi/ChangeLog
2003-02-09  Andrew Cagney  <ac131313@redhat.com>

* mi-interp.c (mi_remove_notify_hooks): Convert function
definition to ISO C.

21 years ago * ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
Alan Modra [Sun, 9 Feb 2003 04:37:04 +0000 (04:37 +0000)]
* ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
* ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var
in dynamic lib.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe.t: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsexetoc.t: Likewise.

21 years ago * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
Alan Modra [Sun, 9 Feb 2003 04:36:44 +0000 (04:36 +0000)]
* emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.

21 years ago * elf64-ppc.c (TLS_GD_LD): Don't define..
Alan Modra [Sun, 9 Feb 2003 04:36:23 +0000 (04:36 +0000)]
* elf64-ppc.c (TLS_GD_LD): Don't define..
(TLS_GD): ..define this instead and update all uses.
(TLS_TPRELGD): Define.
(ppc64_elf_link_hash_table_create): Tweak initialization of
init_refcount and init_offset.
(ppc64_elf_check_relocs): Add one extra element to t_symndx array.
Mark second slot of GD or LD toc entries.
(get_tls_type): Return an int.  Distinguish toc GD and LD entries
from other tls types.
(ppc64_elf_tls_setup): New function, split out from..
(ppc64_elf_tls_optimize): ..here.  Don't optimize when symbols are
defined in a dynamic object.  Fix LD optimization.  Don't set TLS_TPREL
on GD->IE optimization, use TLS_TPRELGD instead.  Use get_tls_type
return value to properly decide whether toc GD and LD entries can
optimize away __tls_get_addr call.  Check next reloc after DTPMOD64
to determine GD or LD rather than looking at TLS_LD flag.  Don't
attempt to adjust got entry tls_type here..
(allocate_dynrelocs): ..instead, adjust got entry tls_type here, and
look for possible merges.
(ppc64_elf_size_dynamic_sections): Adjust local got entries for
optimization.
(ppc64_elf_size_stubs): Tweak __tls_get_addr fudge.
(ppc64_elf_relocate_section): Rename some vars to better reflect usage.
Make use of return value from get_tls_type to properly detect GD and
LD optimizations.  Split tlsld/gd hi/ha from lo/ds case.  Don't
handle tls_get_addr removal when looking at REL24 relocs, do it when
looking at the previous reloc.  Check reloc after DTPMOD64 to determine
GD or LD.
* elf64-ppc.h (ppc64_elf_tls_setup): Declare.

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

21 years agodaily update
Alan Modra [Sat, 8 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agogas/
Richard Sandiford [Sat, 8 Feb 2003 17:05:55 +0000 (17:05 +0000)]
gas/
* config/tc-mips.c (reloc_needs_lo_p): New function.
(fixup_has_matching_lo_p): New function.
(append_insn): Use reloc_needs_lo_p to check whether a relocation
might need a matching %lo().  Reuse the head of mips_hi_fixup_list
if that fixup already has a matching %lo().  Don't call frag_wane here.
(macro): Call frag_wane here if the last unmatched hi was in the
current frag.
(pic_need_relax): New function, split out from...
(md_estimate_size_before_relax): ...here.
(mips_frob_file): Use reloc_needs_lo_p.  Use pic_need_relax to test
whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.

gas/testsuite/
* gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests.
* gas/mips/mips.exp: Run them.

21 years ago * elf32-hppa.c (group_sections): Don't share a stub section if
Alan Modra [Sat, 8 Feb 2003 08:18:41 +0000 (08:18 +0000)]
* elf32-hppa.c (group_sections): Don't share a stub section if
stubs are for a large section.

21 years ago * elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for
Alan Modra [Sat, 8 Feb 2003 01:10:30 +0000 (01:10 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for
stubs if !stubs_always_before_branch.

21 years ago2003-02-07 David Carlton <carlton@math.stanford.edu>
David Carlton [Sat, 8 Feb 2003 00:39:53 +0000 (00:39 +0000)]
2003-02-07  David Carlton  <carlton@math.stanford.edu>

* gdb_mbuild.sh: Delete extra shift after parsing '-f'.

21 years ago*** empty log message ***
gdbadmin [Sat, 8 Feb 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 7 Feb 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years agoMove ``length'' from struct main_type to struct type.
Kevin Buettner [Fri, 7 Feb 2003 21:44:01 +0000 (21:44 +0000)]
Move ``length'' from struct main_type to struct type.

21 years ago * hppaelf.em (group_size): Change default to -1.
Dave Anglin [Fri, 7 Feb 2003 15:55:49 +0000 (15:55 +0000)]
* hppaelf.em (group_size): Change default to -1.

21 years agoAdd duplicate entry for no-pipeline-knowledge. This will prevent the getopt
Nick Clifton [Fri, 7 Feb 2003 15:32:22 +0000 (15:32 +0000)]
Add duplicate entry for no-pipeline-knowledge.  This will prevent the getopt
package from thinking that there are any shorter abbreviations for
--no-pipeline-knowledge.

21 years ago * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
Richard Sandiford [Fri, 7 Feb 2003 15:06:33 +0000 (15:06 +0000)]
* config/tc-mips.c (my_getSmallExpression): Rework bracket handling.

testsuite/
* gas/mips/expr1.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years agoGenerate an error message if a section cannot be found for a symbol.
Nick Clifton [Fri, 7 Feb 2003 14:27:59 +0000 (14:27 +0000)]
Generate an error message if a section cannot be found for a symbol.

21 years ago * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
Jakub Jelinek [Fri, 7 Feb 2003 14:21:03 +0000 (14:21 +0000)]
* genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
which already have it.  Avoid duplicates.

21 years ago * elf64-alpha.c (elf64_alpha_relax_section): Don't crash if
Jakub Jelinek [Fri, 7 Feb 2003 09:30:33 +0000 (09:30 +0000)]
* elf64-alpha.c (elf64_alpha_relax_section): Don't crash if
local_got_entries is NULL.

21 years ago2003-02-07 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 7 Feb 2003 05:33:45 +0000 (05:33 +0000)]
2003-02-07  Andrew Cagney  <ac131313@redhat.com>

* sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
<sys/stat.h>.
* Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 7 Feb 2003 04:49:34 +0000 (04:49 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (symm-nat.o): Update dependencies.
(sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
(lynx-nat.o, ia64-linux-nat.): Ditto.
* symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
"gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
* ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 7 Feb 2003 04:21:34 +0000 (04:21 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (inflow_h): Define.
(procfs.o, inflow.o, procfs.o): Update dependencies.
* inftarg.c (child_stop): Delete extern declaration of
inferior_process_group.  Include "inflow.h".
* procfs.c (procfs_stop): Ditto.  Include "inflow.h".
* inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
* inflow.h (PROCESS_GROUP_TYPE): ... to here.  New file.
(our_process_group, inferior_process_group): Extern declarations.

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 7 Feb 2003 03:23:20 +0000 (03:23 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* procfs.c: Include "gdb_assert.h".

21 years ago2003-02-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 7 Feb 2003 00:27:31 +0000 (00:27 +0000)]
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
* cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
* jv-typeprint.c (java_type_print_base): Ditto.
* typeprint.c (typedef_print): Eliminate STREQ.
* cli/cli-script.c (define_command, define_command): Ditto.
* main.c (captured_main): Ditto.
* values.c (lookup_internalvar): Ditto.
* utils.c (safe_strerror, parse_escape): Eliminate assignment
within `if' conditional.
* linespec.c (decode_line_2): Ditto.
* cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
(bfd_openw_with_cleanup): Ditto.

Index: mi/ChangeLog
2003-02-06  Andrew Cagney  <ac131313@redhat.com>

* mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>.

21 years ago*** empty log message ***
gdbadmin [Fri, 7 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
Mark Kettenis [Thu, 6 Feb 2003 23:20:52 +0000 (23:20 +0000)]
* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
legacy_extract_return_value and store_return_value to
legacy_return_value.

21 years ago * elf-eh-frame.c (get_DW_EH_PE_signed): Define.
Andreas Schwab [Thu, 6 Feb 2003 23:01:04 +0000 (23:01 +0000)]
* elf-eh-frame.c (get_DW_EH_PE_signed): Define.
(read_value): Add parameter is_signed, use signed extraction if
the value is signed.
(_bfd_elf_write_section_eh_frame): Pass signed flag of the
encoding to read_value.

21 years agodaily update
Alan Modra [Thu, 6 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agowhitespace cleanup
Christopher Faylor [Thu, 6 Feb 2003 20:37:55 +0000 (20:37 +0000)]
whitespace cleanup

21 years agoSource Navigator is now on sourceforge...
Keith Seitz [Thu, 6 Feb 2003 20:36:19 +0000 (20:36 +0000)]
Source Navigator is now on sourceforge...

        * Makefile.def: Remove "snavigator", "grep", and "db" modules.
        * Makefile.tpl: Remove "all-snavigator" and "all-grep".
        * Makefile.in: Regenerated.
        * configure.in: Remove all traces of snavigator, db, and grep.
        * configure: Regenerated.

21 years ago* win32-nat.c (get_relocated_section_addrs): New function. Find section load
Christopher Faylor [Thu, 6 Feb 2003 19:51:25 +0000 (19:51 +0000)]
* win32-nat.c (get_relocated_section_addrs): New function.  Find section load
addresses for symbol handling in relocated DLLs.
(solib_symbols_add): Open a bfd and call get_relocated_section_addrs.

21 years ago2003-02-06 Jason Molenda (jason-cl@molenda.com)
Jason Molenda [Thu, 6 Feb 2003 18:26:20 +0000 (18:26 +0000)]
2003-02-06  Jason Molenda  (jason-cl@molenda.com)

* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
why the code is written that way.

21 years agoChecked in as obvious fixes. Also updated FSF copyright year to 2003
Fred Fish [Thu, 6 Feb 2003 17:58:01 +0000 (17:58 +0000)]
Checked in as obvious fixes.  Also updated FSF copyright year to 2003
for remote-e7000.c and infttrace.c.

2003-02-05  Fred Fish  <fnf@intrinsity.com>
* remote-e7000.c (e7000_drain_command): Fix precedence problem with
'=' and '!='.
* rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
with '&' and '=='.
(angel_RDI_info): Ditto.
* infttrace.c (threads_continue_all_but_one): Fix precedence problem
with '&' and '!='.
(threads_continue_all_with_signals): Ditto.

21 years ago * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
Jakub Jelinek [Thu, 6 Feb 2003 14:45:04 +0000 (14:45 +0000)]
* emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
* emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.

21 years agoCommit Sh2E addition
Nick Clifton [Thu, 6 Feb 2003 10:42:33 +0000 (10:42 +0000)]
Commit Sh2E addition

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 6 Feb 2003 06:39:38 +0000 (06:39 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.base/dump.exp: Add missing copyright line.

21 years agotypeo
Jason Molenda [Thu, 6 Feb 2003 06:30:18 +0000 (06:30 +0000)]
typeo

21 years ago2003-02-05 Jason Molenda (jason-cl@molenda.com)
Jason Molenda [Thu, 6 Feb 2003 06:27:01 +0000 (06:27 +0000)]
2003-02-05  Jason Molenda  (jason-cl@molenda.com)

* gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement
at the beginning so the breakpoint doesn't get set on the loop.

21 years agoAdd missing files from last commit :-(
Andrew Cagney [Thu, 6 Feb 2003 05:30:17 +0000 (05:30 +0000)]
Add missing files from last commit :-(

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 6 Feb 2003 02:11:01 +0000 (02:11 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 6 Feb 2003 02:04:21 +0000 (02:04 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.

21 years ago * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.
Alan Modra [Thu, 6 Feb 2003 01:49:39 +0000 (01:49 +0000)]
* gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.
* gas/i386/x86-64-opcode.d: Adjust to suit.

21 years ago * i386-dis.c (dq_mode, Edq): Define.
Alan Modra [Thu, 6 Feb 2003 01:48:41 +0000 (01:48 +0000)]
* i386-dis.c (dq_mode, Edq): Define.
(dis386_twobyte): Correct movd operands.
(OP_E): Handle dq_mode case.

21 years ago * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
Alan Modra [Thu, 6 Feb 2003 01:24:17 +0000 (01:24 +0000)]
* config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
x@toc+off works.

21 years ago2003-02-05 Keith Seitz <keiths@redhat.com>
Andrew Cagney [Thu, 6 Feb 2003 01:22:06 +0000 (01:22 +0000)]
2003-02-05  Keith Seitz  <keiths@redhat.com>
    Andrew Cagney  <ac131313@redhat.com>

* gdb.mi/mi-cli.exp: New file.

21 years ago2003-02-05 Jim Ingham <jingham@apple.com>
Andrew Cagney [Thu, 6 Feb 2003 01:19:12 +0000 (01:19 +0000)]
2003-02-05  Jim Ingham <jingham@apple.com>
            Keith Seitz  <keiths@redhat.com>
            Elena Zannoni  <ezannoni@redhat.com>
            Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE.  Use
xfree and xstrdup when updating interpreter_p.  Install the
default interpreter.  Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.

21 years ago*** empty log message ***
gdbadmin [Thu, 6 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
Mark Kettenis [Wed, 5 Feb 2003 23:14:47 +0000 (23:14 +0000)]
* configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove.  These are all
handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
* config/i386/i386sco5.mt, config/i386/i386v4.mt,
config/i386/i386v42mp.mt: Removed.

21 years ago * compile.c (init_pointers): Abort if wreg never gets initialized.
Kazu Hirata [Wed, 5 Feb 2003 23:10:27 +0000 (23:10 +0000)]
* compile.c (init_pointers): Abort if wreg never gets initialized.
(sim_resume): Fix the handling of exts.w and extu.w.

21 years ago* configure.tgt (*-*-solaris*): Set gdb_osabi to
Mark Kettenis [Wed, 5 Feb 2003 23:04:16 +0000 (23:04 +0000)]
* configure.tgt (*-*-solaris*): Set gdb_osabi to
GDB_OSABI_SOLARIS.

21 years agodaily update
Alan Modra [Wed, 5 Feb 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 5 Feb 2003 17:45:14 +0000 (17:45 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2.12.1 and earlier versions.

21 years ago * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and
Alan Modra [Wed, 5 Feb 2003 15:49:04 +0000 (15:49 +0000)]
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and
plt info when called to transfer weak sym info.

21 years ago2003-02-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 5 Feb 2003 15:31:56 +0000 (15:31 +0000)]
2003-02-05  Andrew Cagney  <ac131313@redhat.com>

Remove orphaned hosts, targets and files.
* config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
* config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
* config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
* config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
* config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
* config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
* config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
* config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
* config/sparc/tm-sp64sim.h: Delete.
* configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
hosts.
* configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
mips*-dec-mach3* targets.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 5 Feb 2003 07:58:40 +0000 (07:58 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* NEWS: Fix typo: sepcifying -> specifying.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 5 Feb 2003 07:25:00 +0000 (07:25 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
Call perror and then continue.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 5 Feb 2003 06:48:55 +0000 (06:48 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* dwarfread.c: Add documentation on the state of dwarf-1,
looking towards obsoletion.

21 years ago2003-02-03 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 5 Feb 2003 06:42:08 +0000 (06:42 +0000)]
2003-02-03  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
gdb/testsuite/gdb.c++/pr-1023.exp.

21 years ago2003-02-03 Michael Chastain <mec@shout.net>
Michael Chastain [Wed, 5 Feb 2003 06:38:33 +0000 (06:38 +0000)]
2003-02-03  Michael Chastain  <mec@shout.net>

* gdb.c++/pr-1023.cc: New file.
* gdb.c++/pr-1023.exp: New file.

21 years ago* gdb.c++/local.exp: Don't expect Local to be in scope in main;
Jim Blandy [Wed, 5 Feb 2003 05:48:46 +0000 (05:48 +0000)]
* gdb.c++/local.exp: Don't expect Local to be in scope in main;
it's local to foobar.  Check for it there, and check that it's not
present in main.
* gdb.c++/local.cc (marker2): New function.
(foobar): Call marker1.
(main): Call marker2 instead of marker1.

21 years ago*** empty log message ***
gdbadmin [Wed, 5 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 4 Feb 2003 23:59:26 +0000 (23:59 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
* TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
* utils.c (init_page_info): Delete reference to MPW in comments.
* main.c (captured_main): Delete #ifdef MPW.

Index: doc/ChangeLog
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
descrption of IS_TRAPPED_INTERNALVAR.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 4 Feb 2003 23:26:43 +0000 (23:26 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Note that the m32r-*-elf* is obsolete.
* monitor.c (monitor_expect): Obsolete reference to m32r.
* configure.tgt: Mark m32r-*-elf* as obsolete.
* MAINTAINERS: Mark m32k as obsolete.
* m32r-rom.c: Obsolete file.
* config/m32r/m32r.mt: Obsolete file.
* config/m32r/tm-m32r.h: Obsolete file.
* m32r-stub.c: Obsolete file.
* m32r-tdep.c: Obsolete file.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 4 Feb 2003 23:22:25 +0000 (23:22 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Mention that the z8k-zilog-none is obsolete.
* MAINTAINERS: Mark z8k as obsolete.
* configure.tgt: Obsolete the z8k-*-coff* target.
* config/z8k/z8k.mt: Obsolete file.
* config/z8k/tm-z8k.h: Obsolete file.
* z8k-tdep.c: Obsolete file.

21 years agodaily update
Alan Modra [Tue, 4 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 4 Feb 2003 22:52:51 +0000 (22:52 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

From Keith Seitz <keiths@redhat.com>:
* gdb.texinfo (Interpreters): New chapter.  Refer the command-line
option "-i"/"--interpreter" to this chapter.  Include index
entries.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 4 Feb 2003 22:49:19 +0000 (22:49 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Mention that the mn10200-elf is obsolete.
* configure.tgt: Obsolete mn10200-*-* target.
* breakpoint.c (update_breakpoints_after_exec): Update comment to
mention that the mn10200 is obsolete.
* breakpoint.h: Ditto.
* MAINTAINERS: Mark the mn10200-elf as obsolete.
* config/mn10200/mn10200.mt: Obsolete file.
* config/mn10200/tm-mn10200.h: Obsolete file.
* mn10200-tdep.c: Obsolete file.

Index: testsuite/ChangeLog
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* gdb.disasm/mn10200.exp: Obsolete file.
* gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 4 Feb 2003 22:04:08 +0000 (22:04 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS: Mark h8500 as obsolete.
* configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
* findvar.c (value_from_register): Ditto.
* h8500-tdep.c: Mark file as obsolete.
* config/h8500/h8500.mt: Ditto.
* config/h8500/tm-h8500.h: Ditto.
* NEWS: Mention that h8500 is obsolete.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 4 Feb 2003 21:55:26 +0000 (21:55 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* objfiles.c (allocate_objfile): Always set name.  Add comment at
start of function.
* jv-lang.c (get_dynamics_objfile): Add comment.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 4 Feb 2003 21:37:03 +0000 (21:37 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* symtab.h (SYMBOL_LINKAGE_NAME): Delete.
* printcmd.c (build_address_symbolic): Replace uses of
SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
SYMBOL_NAME, and asm_demangle.
Update copyright.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 4 Feb 2003 21:24:21 +0000 (21:24 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_compound): Extract code into
lookup_prefix_sym.
(lookup_prefix_sym): New function.