external/binutils.git
29 years ago * gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
Jim Kingdon [Thu, 8 Dec 1994 22:54:33 +0000 (22:54 +0000)]
* gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", to
match stubs and protocol spec.
* gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr
when passing to function which expects that.

The following changes aren't quite enough to make things work with
LynxOS (apprently kernel problems).
* infrun.c (wait_for_inferior): When resuming new thread, pass pid
not -1 for remote case.
* thread.c (info_threads_command): Give error if !target_has_stack.
* infrun.c (start_remote): Call init_thread_list.
* thread.c (info_threads_command): Don't call kill for remote
debugging target.
* target.c (normal_pid_to_str): Print "thread" not "process" for
remote.
* remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X'
response, and `thread' part of 'T' response.
* gdbserver/*: If program exits, send packet to GDB before
exiting.  Handle termination with a signal the same as exiting
with an exitstatus.
* remote.c: Don't try to kill program after getting an 'X'
response.
* infrun.c (wait_for_inferior): Add comment about kill versus mourn.

29 years agoconfigure.in: fix ns32k-pc532-mach* and mips-sony-bsd* configs
Ken Raeburn [Thu, 8 Dec 1994 22:54:22 +0000 (22:54 +0000)]
configure.in: fix ns32k-pc532-mach* and mips-sony-bsd* configs

29 years ago* pc532-mach.c (NAME): Define to use ns32kaout prefix.
Ken Raeburn [Thu, 8 Dec 1994 20:47:46 +0000 (20:47 +0000)]
* pc532-mach.c (NAME): Define to use ns32kaout prefix.
* ns32knetbsd.c (NAME): Ditto.
(ns32kaout_32_get_section_contents): Define to standard aout-32 version.

29 years ago* binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -i
Ken Raeburn [Thu, 8 Dec 1994 19:55:05 +0000 (19:55 +0000)]
* binutils-all/objdump.exp (cpus_expected): New variable, taken from objdump -i
test, added ns32k, sorted.
(objdump -i, -f tests): Use $cpus_expected.

* binutils-all/objcopy.exp: For simple-copy test, expect failure for sh-coff.

29 years ago * config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
Rob Savoye [Thu, 8 Dec 1994 19:49:13 +0000 (19:49 +0000)]
* config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h to
tm-pro.h.

29 years agoobjcopy.c (add_strip_symbol): Cast return value of xmalloc.
Ken Raeburn [Thu, 8 Dec 1994 19:46:25 +0000 (19:46 +0000)]
objcopy.c (add_strip_symbol): Cast return value of xmalloc.

29 years ago * gdb.base/list.exp: Adjust expectations to reflect changes in
Stan Shebs [Thu, 8 Dec 1994 03:05:49 +0000 (03:05 +0000)]
* gdb.base/list.exp: Adjust expectations to reflect changes in
list1.c.
(test_forward_search): New test proc.
* gdb.base/list1.c (long_line): New function, has long source line.

29 years ago * source.c: Various cosmetic changes.
Stan Shebs [Thu, 8 Dec 1994 02:27:47 +0000 (02:27 +0000)]
* source.c: Various cosmetic changes.
(forward_search_command): Handle very long source lines correctly.

29 years agoboost timeout to at least 2min; fix a couple mips tests for 64-bit host disasm
Ken Raeburn [Thu, 8 Dec 1994 01:48:25 +0000 (01:48 +0000)]
boost timeout to at least 2min; fix a couple mips tests for 64-bit host disasm

29 years agorename gas/ieee.fp to ieee-fp
Ken Raeburn [Wed, 7 Dec 1994 21:51:34 +0000 (21:51 +0000)]
rename gas/ieee.fp to ieee-fp

29 years ago * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
Rob Savoye [Wed, 7 Dec 1994 21:47:22 +0000 (21:47 +0000)]
    * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
otherwise it looks like BSD-ELF.

29 years ago * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
Rob Savoye [Wed, 7 Dec 1994 21:26:22 +0000 (21:26 +0000)]
    * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support will
stop being linked in.
* config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF,
otherwise it looks like BSD-ELF.

29 years agokeep everything
Ken Raeburn [Tue, 6 Dec 1994 23:30:12 +0000 (23:30 +0000)]
keep everything

29 years agoClean the sh3 stuff out the right way.
Steve Chamberlain [Tue, 6 Dec 1994 23:29:54 +0000 (23:29 +0000)]
Clean the sh3 stuff out the right way.

29 years agofinish deletion of this directory
Ken Raeburn [Tue, 6 Dec 1994 22:25:17 +0000 (22:25 +0000)]
finish deletion of this directory

29 years ago * inftarg.c: include <sys/types.h> to get def of pid_t.
Stu Grossman [Tue, 6 Dec 1994 05:45:31 +0000 (05:45 +0000)]
* inftarg.c: include <sys/types.h> to get def of pid_t.

29 years agoSwitch r3 to scratch register, r0 to stack register.
Michael Tiemann [Tue, 6 Dec 1994 02:04:58 +0000 (02:04 +0000)]
Switch r3 to scratch register, r0 to stack register.
Other misc changes before beta shipment to customer.

29 years ago * solib.c (auto_solib_add_at_startup): New global.
Stan Shebs [Sat, 3 Dec 1994 00:19:03 +0000 (00:19 +0000)]
* solib.c (auto_solib_add_at_startup): New global.
(solib_create_inferior_hook): Call solib_add only if
auto_solib_add_at_startup is nonzero.
(_initialize_solib): New command "set auto-solib-add".

29 years ago * Makefile.in (LIBGXX_SUPPORT_DIRS): Add libstdc++.
Per Bothner [Fri, 2 Dec 1994 23:54:59 +0000 (23:54 +0000)]
* Makefile.in (LIBGXX_SUPPORT_DIRS):  Add libstdc++.

29 years ago * config/default.exp: Define objdump if it is not defined.
Ian Lance Taylor [Fri, 2 Dec 1994 22:29:20 +0000 (22:29 +0000)]
* config/default.exp: Define objdump if it is not defined.
* ld-empic/*: New tests to test -membedded-pic code.

29 years ago * emultempl/miposecoff.em: New file.
Ian Lance Taylor [Fri, 2 Dec 1994 22:28:09 +0000 (22:28 +0000)]
* emultempl/miposecoff.em: New file.
* emulparams/mipsidt.sh (TEMPLATE_NAME): Set to mipsecoff.
* emulparams/mipsidtl.sh (TEMPLATE_NAME): Likewise.
* scripttempl/mips.sc: Put .rel.sdata sections in .text, and
provide __runtime_reloc_start and __runtime_reloc_stop if they are
used.   Align _fdata to a 16 byte boundary.
* Makefile.in (emipsidt.c): Depend upon mipsecoff.em rather than
generic.em.
(emipsidtl.c): Likewise.
(check): Pass CC_FOR_HOST and CFLAGS_FOR_HOST to runtest.

29 years ago * ld.h (args_type): Add new field embedded_relocs.
Ian Lance Taylor [Fri, 2 Dec 1994 22:25:50 +0000 (22:25 +0000)]
* ld.h (args_type): Add new field embedded_relocs.
* ldemul.h (ldemul_after_open, after_open_default): Declare.
(ld_emulation_xfer_struct): Add new field after_open.
* ldemul.c (ldemul_after_open): New function.
(after_open_default): New function.
* ldlang.c (lang_process): Call ldemul_after_open.
* lexsup.c (parse_args): Handle --embedded-relocs.
* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Initialize
new after_open field to after_open_default.
* emultempl/generic.em, emultempl/gld960.em: Likewise.
* emultempl/gld960c.em, emultempl/hppaelf.em: Likewise.
* emultempl/linux.em, emultempl/m88kbcs.em: Likewise.
* emultempl/sunos.em, emultempl/vanilla.em: Likewise.
* ld.texinfo, ld.1: Mention -embedded-relocs.

29 years ago * parse.c (msymbol_addr_type): Replaced by
Peter Schauer [Fri, 2 Dec 1994 20:55:16 +0000 (20:55 +0000)]
* parse.c (msymbol_addr_type):  Replaced by
lookup_pointer_type (builtin_type_void).

* printcmd.c (_initialize_printcmd):  Give examine_*_type
a name for `ptype $_'.

* printcmd.c (print_formatted): Call val_print_string directly,
rather than via value_print.

29 years ago * gdb.base/a1-selftest.exp: Change initial stepping to know about
Stan Shebs [Fri, 2 Dec 1994 07:17:28 +0000 (07:17 +0000)]
* gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.

29 years agoRemove last remnants of hpread sanitization.
Jeff Law [Fri, 2 Dec 1994 06:42:40 +0000 (06:42 +0000)]
Remove last remnants of hpread sanitization.

29 years ago * somsolib.c (som_solib_get_got_by_pc): New function.
Jeff Law [Thu, 1 Dec 1994 05:34:30 +0000 (05:34 +0000)]
* somsolib.c (som_solib_get_got_by_pc): New function.
* somsolib.h (som_solib_get_got_by_pc): Add extern decl.
* hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the
function's export stub or real address in a shared library.

29 years ago * gdb.disasm/hppa.s: Break the large branching tests into smaller
Jeff Law [Thu, 1 Dec 1994 04:08:29 +0000 (04:08 +0000)]
    * gdb.disasm/hppa.s: Break the large branching tests into smaller
        tests so as not to overflow expect's input buffers.
        * gdb.disasm/hppa.exp: Corresponding changes.

29 years ago * coff-sh.c: Use _bfd_dummy_target instead of no_archive.
Ian Lance Taylor [Wed, 30 Nov 1994 19:14:23 +0000 (19:14 +0000)]
* coff-sh.c: Use _bfd_dummy_target instead of no_archive.

29 years ago * gas/hppa/parse: Renamed from gas/hppa/more.parse.
Jeff Law [Wed, 30 Nov 1994 17:57:29 +0000 (17:57 +0000)]
* gas/hppa/parse: Renamed from gas/hppa/more.parse.

29 years agoMoving into a new directory
Jeff Law [Wed, 30 Nov 1994 17:47:54 +0000 (17:47 +0000)]
Moving into a new directory

29 years ago * Makefile.in: Move -fno-implicit-template from CXXFLAGS
Per Bothner [Wed, 30 Nov 1994 03:37:23 +0000 (03:37 +0000)]
* Makefile.in:  Move -fno-implicit-template from CXXFLAGS
to LIBCXXFLAGS.  Tests are better run without it.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:48:31 +0000 (02:48 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:16:54 +0000 (02:16 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 02:06:04 +0000 (02:06 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:54:43 +0000 (01:54 +0000)]
Initial ARC support.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:45:28 +0000 (01:45 +0000)]
Initial ARC support.

29 years ago* config/arc-elf.mt: New file.
David Edelsohn [Wed, 30 Nov 1994 01:35:40 +0000 (01:35 +0000)]
* config/arc-elf.mt: New file.

29 years agoInitial ARC support.
David Edelsohn [Wed, 30 Nov 1994 01:29:26 +0000 (01:29 +0000)]
Initial ARC support.

29 years agodelete signal handler code (which has been disabled since March 93)
Ken Raeburn [Wed, 30 Nov 1994 01:01:13 +0000 (01:01 +0000)]
delete signal handler code (which has been disabled since March 93)

29 years agoswitch to libiberty version of xmalloc
Ken Raeburn [Wed, 30 Nov 1994 00:56:43 +0000 (00:56 +0000)]
switch to libiberty version of xmalloc

29 years agolog for alpha, sanitize, m68k, rce (sanitized) changes
Ken Raeburn [Tue, 29 Nov 1994 22:30:53 +0000 (22:30 +0000)]
log for alpha, sanitize, m68k, rce (sanitized) changes

29 years ago* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
J.T. Conklin [Tue, 29 Nov 1994 22:24:39 +0000 (22:24 +0000)]
* config.bfd (i[345]86-*-freebsd*): Use i386-bsd as bfd_name.
* configure.host (i[345]86-*-freebsd*): Use i386bsd as my_host.
CVSn:

29 years ago* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.
J.T. Conklin [Tue, 29 Nov 1994 21:47:48 +0000 (21:47 +0000)]
* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.

* configure.in (i[345]86-*-freebsd*): New configuration.
* config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.

29 years ago * top.c (read_next_line): Pass annotation suffix "commands"
Stan Shebs [Tue, 29 Nov 1994 20:45:13 +0000 (20:45 +0000)]
* top.c (read_next_line): Pass annotation suffix "commands"
instead of "command", matches documentation.

29 years ago* tc-alpha.c (in_range_signed, in_range_unsigned): New routines, split from
Ken Raeburn [Tue, 29 Nov 1994 20:31:40 +0000 (20:31 +0000)]
* tc-alpha.c (in_range_signed, in_range_unsigned): New routines, split from
in_range.
(in_range): Deleted.  All calls changed to in_range_*signed.
(create_lita_section): Macro deleted.  Single use expanded in place.
(alpha_ip): Handle `t' and `8' operand types.
(md_apply_fix): Handle BFD_RELOC_12_PCREL.  Print name of unhandled relocation
types.
* alpha-opcode.h: Added HALT and DRAINA.  Disabled MOVI, since it doesn't work,
and isn't supported by the native assembler.

29 years agoRegenerate after Tiemann's change to configure.in.
Ken Raeburn [Tue, 29 Nov 1994 20:27:26 +0000 (20:27 +0000)]
Regenerate after Tiemann's change to configure.in.

29 years agocheck configure and ChangeLog for rce stuff too
Ken Raeburn [Tue, 29 Nov 1994 20:19:54 +0000 (20:19 +0000)]
check configure and ChangeLog for rce stuff too

29 years ago * config/a29k/tm-a29k.h (setup_arbitrary_frame): Replace
Stan Shebs [Tue, 29 Nov 1994 03:11:38 +0000 (03:11 +0000)]
* config/a29k/tm-a29k.h (setup_arbitrary_frame): Replace
FRAME_ADDR with CORE_ADDR in prototype.

29 years ago * pr-5984.ch, pr-5984.exp, Makefile.in: New test case.
Per Bothner [Tue, 29 Nov 1994 02:39:35 +0000 (02:39 +0000)]
* pr-5984.ch, pr-5984.exp, Makefile.in:  New test case.

29 years ago* config/m68k-nbsd.mt (DEFAULT_VECTOR): set to m68knetbsd_vec.
J.T. Conklin [Mon, 28 Nov 1994 23:43:02 +0000 (23:43 +0000)]
* config/m68k-nbsd.mt (DEFAULT_VECTOR): set to m68knetbsd_vec.
* Makefile.in: Rebuilt dependancies.
  (CFILES): Added m68knetbsd.c.
  (HFILES): Added netbsd.h.

29 years ago * top.c (command_line_input): If annotation suffix is NULL,
Stan Shebs [Mon, 28 Nov 1994 23:26:58 +0000 (23:26 +0000)]
* top.c (command_line_input): If annotation suffix is NULL,
replace it with an empty string.
(read_next_line): Pass "command" as annotation suffix to
command_line_input.

29 years ago(do_scrub_next_char): Insert missing newline at end of file
David Edelsohn [Mon, 28 Nov 1994 19:38:39 +0000 (19:38 +0000)]
(do_scrub_next_char): Insert missing newline at end of file
like warning says we do.

29 years ago* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
J.T. Conklin [Mon, 28 Nov 1994 19:14:29 +0000 (19:14 +0000)]
* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
* config/rs6000/xm-rs6000.h: ...to here.

29 years ago * gdbtk.tcl (build_framework): Fix bug with setting window titles.
Stu Grossman [Mon, 28 Nov 1994 18:20:21 +0000 (18:20 +0000)]
* gdbtk.tcl (build_framework):  Fix bug with setting window titles.

29 years ago * gdbtk.tcl (build_framework): Add "Report bug" to help menu.
Stu Grossman [Mon, 28 Nov 1994 18:01:31 +0000 (18:01 +0000)]
* gdbtk.tcl (build_framework):  Add "Report bug" to help menu.

29 years ago * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
Stu Grossman [Mon, 28 Nov 1994 17:23:13 +0000 (17:23 +0000)]
* gdbtk.tcl:  Re-arrange windows using new, consistent layout. Clean
up lots of code and centralize framework initialization.

29 years ago * ld-bootstrap/bootstrap.exp: Pass cmp output through
Ian Lance Taylor [Mon, 28 Nov 1994 16:26:30 +0000 (16:26 +0000)]
* ld-bootstrap/bootstrap.exp: Pass cmp output through
prune_system_crud.
* ld-cdtest/cdtest.exp: Pass diff output through
prune_system_crud.
* ld-shared/shared.exp: Likewise.

* config/default.exp: Remove unused and useless proc ld_load.

29 years ago * gas/mips/ld.d: Adjust to work for both big and little endian
Ian Lance Taylor [Mon, 28 Nov 1994 16:21:59 +0000 (16:21 +0000)]
* gas/mips/ld.d: Adjust to work for both big and little endian
code.
* gas/mips/ld.s, gas/mips/lif-empic.d: Likewise.
* gas/mips/lifloat.d, gas/mips/ulh-empic.d: Likewise.
* gas/mips/ulh.d, gas/mips/ulw.d, gas/mips/ush.d: Likewise.
* gas/mips/usw.d: Likewise.

29 years ago * gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
Jeff Law [Mon, 28 Nov 1994 07:55:25 +0000 (07:55 +0000)]
* gas/hppa/more.parse/parse.exp (nosubspace.s): No longer expected
to fail.  Fix comments for the test.  Tweak test name.

29 years ago * config/tc-hppa.h (pa_check_eof): Declare new extern function.
Jeff Law [Mon, 28 Nov 1994 07:54:07 +0000 (07:54 +0000)]
* config/tc-hppa.h (pa_check_eof): Declare new extern function.
(tc_frob_file): Define to call pa_check_eof.

* config/tc-hppa.c (pa_check_current_space_and_subspace): New
function to verify the current space and subspace are reasonable.
Call for the appropriate pseudo-ops and before instruction parsing.
(pa_check_eof): New function to verify enter/exit and proc/procend
pairs match at EOF.
(pa_code): Simplify.

* config/obj-som.c: Delete #if 0 code.

29 years agoChanges to reflect that r3, not r0, is now the stack pointer.
Michael Tiemann [Sun, 27 Nov 1994 20:04:22 +0000 (20:04 +0000)]
Changes to reflect that r3, not r0, is now the stack pointer.

29 years agoChange r16 -> rce.
Michael Tiemann [Sun, 27 Nov 1994 19:17:46 +0000 (19:17 +0000)]
Change r16 -> rce.

29 years agoAdd shl
Steve Chamberlain [Sat, 26 Nov 1994 18:10:37 +0000 (18:10 +0000)]
Add shl

29 years ago * tm-hppa.h (skip_trampoline_code): Add extern decl.
Jeff Law [Sat, 26 Nov 1994 04:39:07 +0000 (04:39 +0000)]
* tm-hppa.h (skip_trampoline_code): Add extern decl.
* hppa-tdep.c (hppa_pop_frame): Silently restart the inferior and
allow it to execute any return path trampoline code.  Stop the
inferior and give the user control when the trampoline has
finished executing.
(in_solib_call_trampoline): Handle export stubs which also perform
parameter relocations.
(in_solib_return_trampoline): Likewise.

29 years agoAdd dummy decl for `dump_literals'.
Michael Tiemann [Sat, 26 Nov 1994 00:28:30 +0000 (00:28 +0000)]
Add dummy decl for `dump_literals'.

29 years agoAdd changes from customer since last work.
Michael Tiemann [Sat, 26 Nov 1994 00:17:52 +0000 (00:17 +0000)]
Add changes from customer since last work.

29 years ago Beginnings of template debugging tests.
Peter Schauer [Fri, 25 Nov 1994 21:48:02 +0000 (21:48 +0000)]
Beginnings of template debugging tests.
* gdb.c++/templ-info.cc:  New file to test for template
debugging capability of the compiler.
* gdb.c++/Makefile.in:  Add rule to build templ-info.exp from
templ-info.cc.
* gdb.c++/templates.cc:  Add explicit template instantiations
to enable compiling with -fno-implicit-templates. Add destructor
and 'value' method to T5 class for template tests.
* gdb.c++/templates.exp:  Add testcases for printing of template
types, setting breakpoints on template methods and calling a
template method.

29 years ago * coffread.c, symfile.h (coff_getfilename): Make it static again.
Peter Schauer [Fri, 25 Nov 1994 21:46:52 +0000 (21:46 +0000)]
* coffread.c, symfile.h (coff_getfilename):  Make it static again.
* xcoffread.c (coff_getfilename):  Use a static copy from
coffread.c, modified for accessing the static xcoff strtbl.

29 years agoEnable ld to build for RCE. This is not tested yet!
Michael Tiemann [Fri, 25 Nov 1994 17:06:38 +0000 (17:06 +0000)]
Enable ld to build for RCE.  This is not tested yet!

29 years agoChange R16 -> RCE.
Michael Tiemann [Fri, 25 Nov 1994 16:19:34 +0000 (16:19 +0000)]
Change R16 -> RCE.

29 years agoChange R16 -> RCE.
Michael Tiemann [Fri, 25 Nov 1994 16:05:31 +0000 (16:05 +0000)]
Change R16 -> RCE.

29 years ago * hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
Jeff Law [Fri, 25 Nov 1994 09:21:49 +0000 (09:21 +0000)]
* hppa-tdep.c (in_solib_call_trampoline): Recognize calls through
_sr4export and $$dyncall as trampolines.  Likewise for long-call
stubs and parameter relocation stubs.
(in_solib_return_trampoline): Recognize a return trampoline for
return value relocation stubs.

29 years ago * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Jeff Law [Fri, 25 Nov 1994 08:06:49 +0000 (08:06 +0000)]
* hpread.c: Include hp-symtab.h instead of hpux-symtab.h.
Various name changes to match those used by hp-symtab.h.

No longer sanitize away hpread changes.  Merge ChangeLog.hpread into
ChangeLog and ChangeLog-93.

29 years ago * hp-symtab.h: New file describing the debug symbols emitted
Jeff Law [Fri, 25 Nov 1994 07:32:51 +0000 (07:32 +0000)]
* hp-symtab.h: New file describing the debug symbols emitted
by the HP C compilers.
* hpux-symtab.h: Deleted.

NOTE: hpux-symtab.h was the HP copyrighted description and data structures
for the debug symbols emitted by the various HP compilers (C, C++, Fortran,
Cobol, Pascal, Modula-2, Cobol, etc).

hp-symtab.h is my rewritten version which only describes the debug symbols
used by the HP C compiler.  hp-symtab.h is intended to be copyrighted
by the FSF as part of GDB.

29 years agoremove sh3 stuff.
Steve Chamberlain [Fri, 25 Nov 1994 06:15:19 +0000 (06:15 +0000)]
remove sh3 stuff.

29 years ago*** empty log message ***
Michael Tiemann [Fri, 25 Nov 1994 02:28:15 +0000 (02:28 +0000)]
*** empty log message ***

29 years agoClean up bitrot (such as interfaces that have changed since these
Michael Tiemann [Fri, 25 Nov 1994 02:14:11 +0000 (02:14 +0000)]
Clean up bitrot (such as interfaces that have changed since these
patches were last used).

29 years ago*** empty log message ***
Michael Tiemann [Fri, 25 Nov 1994 00:25:34 +0000 (00:25 +0000)]
*** empty log message ***

29 years agoRename r16 files to rce, and fix some more .Sanitize typos.
Michael Tiemann [Fri, 25 Nov 1994 00:01:26 +0000 (00:01 +0000)]
Rename r16 files to rce, and fix some more .Sanitize typos.

29 years agoRecognize and sanitize r16 as a target.
Michael Tiemann [Thu, 24 Nov 1994 22:02:18 +0000 (22:02 +0000)]
Recognize and sanitize r16 as a target.

29 years ago*** empty log message ***
Michael Tiemann [Thu, 24 Nov 1994 21:48:21 +0000 (21:48 +0000)]
*** empty log message ***

29 years agoFix .Sanitize scrips so that r16 is truly scrubbed out.
Michael Tiemann [Thu, 24 Nov 1994 21:36:00 +0000 (21:36 +0000)]
Fix .Sanitize scrips so that r16 is truly scrubbed out.
Also, report errors if any traces of sanitize remain after sanitizing.

29 years agoSafely check in r16 targets for binutils.
Michael Tiemann [Thu, 24 Nov 1994 20:30:11 +0000 (20:30 +0000)]
Safely check in r16 targets for binutils.

29 years ago * blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
Jeff Law [Thu, 24 Nov 1994 08:02:01 +0000 (08:02 +0000)]
* blockframe.c (find_pc_partial_function): Inhibit mst_trampoline
symbol special handling when INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK
is defined.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Renamed from
IN_SOLIB_TRAMPOLINE.  All callers changed.
(IN_SOLIB_RETURN_TRAMPOLINE): Provide default definition.
(wait_for_inferior): Handle single stepping through trampolines on
return paths from shared libraries.
* config/pa/tm-hppa.h (IN_SOLIB_CALL_TRAMPOLINE): Use
in_solib_call_trampoline.
(IN_SOLIB_RETURN_TRAMPOLINE): Use in_solib_return_trampoline.
(INHIBIT_SUNSOLIB_TRANSFER_TABLE_HACK): Define.
* hppa-tdep.c (in_solib_call_trampoline): New function.
(in_solib_return_trampoline): New function.

29 years ago * tm-h8300.h (REMOTE_BREAKPOINT): Define.
Steve Chamberlain [Thu, 24 Nov 1994 07:07:21 +0000 (07:07 +0000)]
* tm-h8300.h (REMOTE_BREAKPOINT): Define.
* h8300-tdep.c (h8300_pop_frame): Remove redundant call.

29 years ago * dis-asm.h (print_insn_shl): New prototype.
Steve Chamberlain [Thu, 24 Nov 1994 06:41:52 +0000 (06:41 +0000)]
* dis-asm.h (print_insn_shl): New prototype.

29 years ago * disasseble.c (disassebler): Cope with little endian SH.
Steve Chamberlain [Thu, 24 Nov 1994 06:37:05 +0000 (06:37 +0000)]
* disasseble.c (disassebler): Cope with little endian SH.

29 years ago * sh-opc.h (mov.l gbr): Get direction right.
Steve Chamberlain [Thu, 24 Nov 1994 06:36:28 +0000 (06:36 +0000)]
* sh-opc.h (mov.l gbr): Get direction right.
* sh-dis.c (print_insn_shx): New function.
(print_insn_shl, print_insn_sh): Call print_insn_shx to
print opcodes with right byte order.

29 years ago * Makefile.in: Add eshl.o.
Steve Chamberlain [Thu, 24 Nov 1994 06:06:23 +0000 (06:06 +0000)]
* Makefile.in: Add eshl.o.
* config/coff-sh.mt: Add shl emulation.

29 years ago * remote-e7000.c (HARD_BREAKPOINTS): Reenable.
Steve Chamberlain [Thu, 24 Nov 1994 05:59:34 +0000 (05:59 +0000)]
* remote-e7000.c (HARD_BREAKPOINTS): Reenable.
(BC_BREAKPOINTS): Disable.
* sh-tdep.c (print_insn): Cope with big and little endian machines.
* sh/sh.mt: Use libsim.a
* sh/tm-sh.h (TARGET_BYTE_ORDER_SELECTABLE): New
(BREAKPOINT): Changed to be byteorder independent.

29 years ago * interp.c ([wr][bwl]at): New functions.
Steve Chamberlain [Thu, 24 Nov 1994 05:33:47 +0000 (05:33 +0000)]
* interp.c ([wr][bwl]at): New functions.
(trap): Cope with both byte modes.

29 years ago * config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
Steve Chamberlain [Thu, 24 Nov 1994 03:42:15 +0000 (03:42 +0000)]
* config/obj-coff.h (TARGET_FORMAT): Select between coff-shl and coff-sh.
* config/sh.mh (TARG_CPU_DEPENDENTS): Get it right.
* config/tc-sh.c  (little): New function.
(md_parse_option): Notice new option.
(build_relax, build_Mytes, md_atof, md_convert_frag, md_apply_fix):
        Cope with little endian data.
* config/tc-sh.h (COFF_MAGIC, LISTING_HEADER): Endian dependent.

29 years ago * coff-sh.c (shlcoff_vec): New target vector.
Steve Chamberlain [Thu, 24 Nov 1994 03:33:48 +0000 (03:33 +0000)]
* coff-sh.c (shlcoff_vec): New target vector.
(no_archive): New function.
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Handle
little endian SH.
* configure.in: Handle shl.
* targets.c (bfd_target_vector): Add shlcoff_vec.
* config/sh-coff.mt (SELECT_VECS): Handle shl_coff_vec.

29 years ago * Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs.
Brendan Kehoe [Wed, 23 Nov 1994 18:30:23 +0000 (18:30 +0000)]
* Makefile.in (all-ispell): Depend on all-emacs19 instead of all-emacs.

29 years ago * config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
Jeff Law [Wed, 23 Nov 1994 17:57:00 +0000 (17:57 +0000)]
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Revert last
change.  The real bug was in bfd/elfcode.h and has been fixed.

29 years ago * gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
Jeff Law [Wed, 23 Nov 1994 06:39:20 +0000 (06:39 +0000)]
* gas/hppa/reloc/reloc.exp: Minor tweaks to match current PA ELF
output.

29 years ago * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
Jeff Law [Wed, 23 Nov 1994 06:36:43 +0000 (06:36 +0000)]
* elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Do not add
input_section->vma to the relocation's offset.

29 years ago * config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
Jeff Law [Wed, 23 Nov 1994 06:34:13 +0000 (06:34 +0000)]
* config/tc-hppa.c (tc_gen_reloc, ELF variant): Add section->vma
to the relocation's offset.

29 years ago Maintenance commands to report time and space usage.
Stan Shebs [Wed, 23 Nov 1994 03:27:40 +0000 (03:27 +0000)]
Maintenance commands to report time and space usage.
* main.c (display_time, display_space): New globals.
(main): Add argument --statistics to enable reporting, display
time and space after startup is done.
* maint.c (maintenance_time_display, maintenance_space_display):
New commands.
* top.c (command_loop): Display time and space after command
execution.

* top.c (pre_init_ui_hook): New global.
(gdb_init): If pre_init_ui_hook set, call before all other init.

29 years ago * Makefile.in (INSTALL_XFORM): Fix typo.
Steve Chamberlain [Tue, 22 Nov 1994 23:18:24 +0000 (23:18 +0000)]
* Makefile.in (INSTALL_XFORM): Fix typo.