Peter Schauer [Sat, 25 Mar 1995 09:23:10 +0000 (09:23 +0000)]
* buildsym.c (patch_subfile_name): Update last_source_file
with the real source file name.
* dbxread.c (end_psymtab): Handle static functions in the
SOFUN_ADDRESS_MAYBE_MISSING case by passing pst->filename
to lookup_minimal_symbol.
(process_one_symbol): Ignore extra outermost context from
SunPRO cc and acc.
* stabsread.c (define_symbol): Do not complain for SunPRO
static variable encoding if STATIC_TRANSFORM_NAME is defined.
* sparc-tdep.c, config/sparc/tm-sun4sol2.h
(sunpro_static_transform_name): Renamed from
solaris_static_transform_name.
* config/sparc/tm-sun4os4.h (STATIC_TRANSFORM_NAME):
Define to sunpro_static_transform_name for acc 3.0 compiled
executables.
* procfs.c, config/alpha/nm-osf2.h (PROCFS_DONT_TRACE_FAULTS):
Renamed from PROCFS_DONT_TRACE_IFAULT, don't trace any faults
if defined.
* procfs.c (info_proc_siginfo): Cast sip->si_addr to
`unsigned long' and use `lx' format for printing it.
Jim Kingdon [Sat, 25 Mar 1995 06:01:20 +0000 (06:01 +0000)]
* gdb.base/break.exp (test_next_with_recursion): Accept any line
number (we are already testing that the correct source line text
gets printed).
* gdb.base/break.exp: Make one test if $usestubs. I'm not sure
that is what is intended, but something needed to be done to get
sunos4 native working again.
* gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
Stu Grossman [Sat, 25 Mar 1995 00:41:54 +0000 (00:41 +0000)]
* configure.in: Move test for m68*-est-* before m68*-*-coff*.
* findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
the beginning of the code.
* (write_register_gen): New routine. Analogous to
read_register_gen.
* (write_register_bytes): Another rewrite! Make it smarter about
not updating regs with the same value.
* monitor.c (printf_monitor readchar): Use stderr instead of
stdout to output debug info. Also cleanup readchar a little.
* (expect): Make sure that excessive responses are null
terminated.
* (monitor_open): Check for magic number in monitor_ops struct.
Allow multiple commands as init strings. Also, clear all
breakpoints.
* (monitor_resume monitor_wait): Send a command to dump all the
regs for those targets which don't do so when waking up after a
continue command.
* (monitor_wait): Handle excessive response output better.
* (monitor_write_memory): Use block fill, word, and long word
commands (if they exist) to write memory more efficiently.
* General cleanups to use flag bits instead of individual flag
words in monitor_ops struct.
* (monitor_command): Return output from command.
* (monitor_load_srec): Allocate buffer only once. Use alloca.
Wait for load response string instead of using a timeout to start
sending S-records. Fix bug where value of srec_frame shrinks. If
hashmark is set, print `-' for retransmissions. General cleanups.
* (monitor_make_srec): Get rid of S-record default type kludge.
* monitor.h: Use seperate struct for memory and register
read/write commands. Memory commands can come in byte, word,
long, and longlong forms.
* (monitor_ops): Change lots of fields. Generalize some stuff.
Put all flags into flags word. Allow init to be a list of commands.
Add command for clearing all breakpoints, block fill, dumping all
registers.
* remote-est.c: Rewrite to use new monitor conventions.
* config/m68k/est.mt (TDEPFILES): Add monitor.o.
* config/m68k/tm-est.h: Set NUM_REGS to 18.
* testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
more thoroughly.
Stu Grossman [Sat, 25 Mar 1995 00:37:09 +0000 (00:37 +0000)]
New file for controlling the EST.
Stu Grossman [Sat, 25 Mar 1995 00:36:01 +0000 (00:36 +0000)]
* configure.in: Move test for m68*-est-* before m68*-*-coff*.
* findvar.c: Move default def of CANNOT_STORE_REGISTER closer to
the beginning of the code.
* (write_register_gen): New routine. Analogous to
read_register_gen.
* (write_register_bytes): Another rewrite! Make it smarter about
not updating regs with the same value.
* monitor.c (printf_monitor readchar): Use stderr instead of
stdout to output debug info. Also cleanup readchar a little.
* (expect): Make sure that excessive responses are null
terminated.
* (monitor_open): Check for magic number in monitor_ops struct.
Allow multiple commands as init strings. Also, clear all
breakpoints.
* (monitor_resume monitor_wait): Send a command to dump all the
regs for those targets which don't do so when waking up after a
continue command.
* (monitor_wait): Handle excessive response output better.
* (monitor_write_memory): Use block fill, word, and long word
commands (if they exist) to write memory more efficiently.
* General cleanups to use flag bits instead of individual flag
words in monitor_ops struct.
* (monitor_command): Return output from command.
* (monitor_load_srec): Allocate buffer only once. Use alloca.
Wait for load response string instead of using a timeout to start
sending S-records. Fix bug where value of srec_frame shrinks. If
hashmark is set, print `-' for retransmissions. General cleanups.
* (monitor_make_srec): Get rid of S-record default type kludge.
* monitor.h: Use seperate struct for memory and register
read/write commands. Memory commands can come in byte, word,
long, and longlong forms.
* (monitor_ops): Change lots of fields. Generalize some stuff.
Put all flags into flags word. Allow init to be a list of commands.
Add command for clearing all breakpoints, block fill, dumping all
registers.
* remote-est.c: Rewrite to use new monitor conventions.
* config/m68k/est.mt (TDEPFILES): Add monitor.o.
* config/m68k/tm-est.h: Set NUM_REGS to 18.
* testsuite/gdb.base/break.exp: Lots of cleanups. Use gdb_test
more thoroughly.
Jim Kingdon [Fri, 24 Mar 1995 23:06:46 +0000 (23:06 +0000)]
* gdb.base/a1-selftest.exp (test_with_self): Remove comment which
apparently went with a (very) old xfail.
Kung Hsu [Fri, 24 Mar 1995 22:06:00 +0000 (22:06 +0000)]
* gdb.base/callfuncs.exp: call runto_main instead of runto main.
runto_main is a proc in gdb.exp that will do 'step' for target use
stubs.
* gdb.base/exprs.exp: ditto.
* gdb.base/interrupt.exp: ditto.
* gdb.base/opaque.exp: ditto.
* gdb.base/printcmds.exp: ditto.
* gdb.base/ptype.exp: ditto.
* gdb.base/scope.exp: ditto.
* gdb.base/setvar.exp: ditto.
* gdb.base/signals.exp: ditto.
* gdb.base/twice.exp: ditto.
* gdb.base/break.exp: no run and hit main for stubs. Change line
numbers for breakpoints and info breakpoint.
* gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
breakpoint().
* gdb.base/callfuncs.c: ditto.
* gdb.base/exprs: ditto.
* gdb.base/interrupt.c: ditto.
* gdb.base/opaque0.c: ditto.
* gdb.base/printcmds.c: ditto.
* gdb.base/ptype.c: ditto.
* gdb.base/scope0.c: ditto.
* gdb.base/setvar.c: ditto.
* gdb.base/signals.c: ditto.
* gdb.base/twice.c: ditto.
Kung Hsu [Fri, 24 Mar 1995 22:02:15 +0000 (22:02 +0000)]
* gdb.base/callfuncs.exp: call runto_main instead of runto main.
runto_main is a proc in gdb.exp that will do 'step' for target use
stubs.
* gdb.base/exprs.exp: ditto.
* gdb.base/interrupt.exp: ditto.
* gdb.base/opaque.exp: ditto.
* gdb.base/printcmds.exp: ditto.
* gdb.base/ptype.exp: ditto.
* gdb.base/scope.exp: ditto.
* gdb.base/setvar.exp: ditto.
* gdb.base/signals.exp: ditto.
* gdb.base/twice.exp: ditto.
* gdb.c++/classes.exp: ditto.
* gdb.c++/inherit.exp: ditto.
* gdb.c++/templates.exp: ditto.
* gdb.base/break.exp: no run and hit main for stubs. Change line
numbers for breakpoints and info breakpoint.
* gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
breakpoint().
* gdb.base/callfuncs.c: ditto.
* gdb.base/exprs: ditto.
* gdb.base/interrupt.c: ditto.
* gdb.base/opaque0.c: ditto.
* gdb.base/printcmds.c: ditto.
* gdb.base/ptype.c: ditto.
* gdb.base/scope0.c: ditto.
* gdb.base/setvar.c: ditto.
* gdb.base/signals.c: ditto.
* gdb.base/twice.c: ditto.
* gdb.c++/misc.cc: ditto.
* gdb.c++/templates.cc: ditto.
Jim Kingdon [Fri, 24 Mar 1995 20:05:28 +0000 (20:05 +0000)]
* config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
Ian Lance Taylor [Fri, 24 Mar 1995 16:49:14 +0000 (16:49 +0000)]
* strings.c: Include "bfd.h" before other headers. Include
"sysdep.h".
* bucomm.c (print_arelt_descr): Cast st_uid and st_gid to long,
and print them with %ld.
Ian Lance Taylor [Fri, 24 Mar 1995 16:46:02 +0000 (16:46 +0000)]
* binutils-hppa/objdump.exp: Correct hppa*-*-* check.
Jim Kingdon [Fri, 24 Mar 1995 16:38:06 +0000 (16:38 +0000)]
* gdb.base/a1-selftest.exp: Don't check for # followed by a digit
somewhere between `read' and `main.c'. I'm pretty sure the
pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
and it isn't particularly useful.
Jim Kingdon [Fri, 24 Mar 1995 14:13:35 +0000 (14:13 +0000)]
* gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
Jeff Law [Fri, 24 Mar 1995 06:21:44 +0000 (06:21 +0000)]
* somsolib.c (som_solib_add): Handle case where a shared library
referenced by a core file has sections without the SEC_ALLOC bit
set (eg stabs sections).
Jim Kingdon [Thu, 23 Mar 1995 23:36:33 +0000 (23:36 +0000)]
* gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
Jim Kingdon [Thu, 23 Mar 1995 23:35:00 +0000 (23:35 +0000)]
* breakpoint.c (bpstat_do_actions): For each element in the bpstat
chain, do all the commands regardless of whether they run the
inferior.
David Edelsohn [Thu, 23 Mar 1995 03:39:24 +0000 (03:39 +0000)]
* mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define as
BREAKPOINT if mono-endian.
(break_insn): Deleted.
(big_break_insn, little_break_insn): Define.
(memory_insert_breakpoint): Handle bi-endian cpus.
(BREAKPOINT_LEN): Define.
(memory_remove_breakpoint): Use it.
(memory_breakpoint_size): Likewise.
Kung Hsu [Thu, 23 Mar 1995 02:38:39 +0000 (02:38 +0000)]
* config/mt-slite: add LIBS and -nostdlib.
* config/slite-gdb.exp: add this new file to support sparclite target.
David Edelsohn [Wed, 22 Mar 1995 05:42:22 +0000 (05:42 +0000)]
* config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
David Edelsohn [Wed, 22 Mar 1995 04:54:35 +0000 (04:54 +0000)]
* gdb.base/a2-run.exp: Change argument to istarget from
"*-*-vxworks" to "*-*-vxworks*".
* gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
David Edelsohn [Wed, 22 Mar 1995 04:52:25 +0000 (04:52 +0000)]
Change argument to istarget from "*-*-vxworks" to "*-*-vxworks*".
Kung Hsu [Wed, 22 Mar 1995 01:13:08 +0000 (01:13 +0000)]
* lib/gdb.exp: add proc runto_main, for targets that use stubs, this
will not runto main but do a 'step' to step out of breakpoint().
* config/mt-slite: add -Dusestubs.
Kung Hsu [Wed, 22 Mar 1995 01:12:04 +0000 (01:12 +0000)]
* config/mt-slite: add -Dusestubs.
Kung Hsu [Wed, 22 Mar 1995 01:11:34 +0000 (01:11 +0000)]
* lib/gdb.exp: add proc runto_main, for targets that use stubs, this
will not runto main but do a 'step' to step out of breakpoint().
Kung Hsu [Wed, 22 Mar 1995 01:06:36 +0000 (01:06 +0000)]
* sparc-stub.c: add nop after 'bg good_wim'.
* sparcl-stub.c: ditto.
Jim Kingdon [Tue, 21 Mar 1995 22:24:00 +0000 (22:24 +0000)]
* gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
instead of just @.
Jim Kingdon [Tue, 21 Mar 1995 22:02:06 +0000 (22:02 +0000)]
* gdb.base/signals.exp: Add test for "handle all print".
* TODO: Remove "handle all print". Also remove item about
checking copyright date (I don't like the idea of a spurious FAIL
based on when we run the tests).
Jim Kingdon [Tue, 21 Mar 1995 21:59:03 +0000 (21:59 +0000)]
* infrun.c (handle_command): Don't print TARGET_SIGNAL_0,
TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
Ian Lance Taylor [Tue, 21 Mar 1995 21:54:25 +0000 (21:54 +0000)]
* config/tc-mips.c (md_show_usage): Mention -mips4 and -m4650.
Jim Kingdon [Tue, 21 Mar 1995 21:12:24 +0000 (21:12 +0000)]
* gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
for SunOS4 (reason for failure not investigated). Remove
redundant test for $binfile.
Jim Kingdon [Tue, 21 Mar 1995 21:01:53 +0000 (21:01 +0000)]
* gdb.base/nodebug.c (array_index): Call malloc.
Jim Kingdon [Tue, 21 Mar 1995 20:17:49 +0000 (20:17 +0000)]
* gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
Ian Lance Taylor [Tue, 21 Mar 1995 20:17:07 +0000 (20:17 +0000)]
* ldlang.c (lang_common): Change power to int. Pass larger values
before smaller values.
(lang_one_common): Treat info as int *. Don't bother to check for
last value, since it is now zero.
Jim Kingdon [Tue, 21 Mar 1995 20:11:37 +0000 (20:11 +0000)]
* tuples.exp (do_tests): Make names of "print v_ps" test unique.
Jeff Law [Tue, 21 Mar 1995 17:49:53 +0000 (17:49 +0000)]
* binutils-hppa/addendbug.s: New testcase.
* binutils-hppa/objdump.exp: Run it.
Jeff Law [Tue, 21 Mar 1995 05:47:14 +0000 (05:47 +0000)]
* gas/hppa/unsorted/common.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Tue, 21 Mar 1995 05:40:30 +0000 (05:40 +0000)]
* som.c (som_slurp_symbol_table): Tighten test to determine
what symbols are section symbols.
Stu Grossman [Mon, 20 Mar 1995 23:41:51 +0000 (23:41 +0000)]
* config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
dump handling.
Stu Grossman [Mon, 20 Mar 1995 23:40:33 +0000 (23:40 +0000)]
* findvar.c (read_register_bytes write_register_bytes): Make
these routines much smarter about updating registers from the
target, only doing so when absolutely necessary. This really
speeds up register modification on some remote targets.
* monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
BFD makes this unnecessary. Lots of debugging speedups.
* (expect): NULL terminate return string.
* (monitor_open monitor_supply_register parse_register_dump
monitor_wait monitor_fetch_register): Switch to using GNU regexp
library to parse multi-register displays.
* (monitor_read_memory): Read multiple bytes (up to 16) at once.
* (monitor_create_inferior): Call clear_proceed_status to make run
command notice first breakpoint.
* (monitor_load): Clean up. Reset inferior_pid, set pc to start
address and reset symbol table stuff to make loads put things into
a fresh state.
* (monitor_load_srec): Lower sleep time to 1 second.
* monitor.h (struct monitor_ops): Add register_pattern and
supply_register to monitor_ops.
* rom68k-rom.c: Add new support for handling register dumps.
* config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for register
dump handling.
Ian Lance Taylor [Mon, 20 Mar 1995 19:31:58 +0000 (19:31 +0000)]
* lib/utils-lib.exp (default_binutils_run): Quote any dollar signs
in progargs before passing it to exec.
Jeff Law [Mon, 20 Mar 1995 17:11:35 +0000 (17:11 +0000)]
* hppab-nat.c (store_inferior_registers): Sync with HPUX version.
Jeff Law [Mon, 20 Mar 1995 17:09:25 +0000 (17:09 +0000)]
* gdb.base/recurse.exp: Update gdb_test invocation to use new
conventions and slightly simplify the matching regexp.
Stu Grossman [Mon, 20 Mar 1995 15:38:56 +0000 (15:38 +0000)]
* hppah-nat.c (store_inferior_registers): Move check for
CANNOT_STORE_REGISTER to a better place. Fixes ptrace I/O errors
found by test suite during function calls, which attempts to write
unwritable registers.
Peter Schauer [Sat, 18 Mar 1995 13:16:51 +0000 (13:16 +0000)]
* mdebugread.c (parse_symbol): If finishing a function without
known parameter type info, set that from parameter symbols.
Remove commented-out add_param_to_type support.
Ian Lance Taylor [Sat, 18 Mar 1995 06:56:51 +0000 (06:56 +0000)]
tipo
Ian Lance Taylor [Sat, 18 Mar 1995 06:56:00 +0000 (06:56 +0000)]
* elfcode.h (elf_bfd_link_add_symbols): An empty archive is OK.
Ian Lance Taylor [Sat, 18 Mar 1995 06:53:14 +0000 (06:53 +0000)]
* ldlang.c (load_symbols): An empty is archive is OK.
Stan Shebs [Sat, 18 Mar 1995 00:50:51 +0000 (00:50 +0000)]
* mpw-config.in (TDEFINES): Put empty definition into
makefile fragment.
* mpw-make.in (xmalloc.c.o): Remove.
(as.new): Depend on Version.r.
(Version.r): Generate from version info.
Stan Shebs [Sat, 18 Mar 1995 00:42:17 +0000 (00:42 +0000)]
* mpw-configure: Revert previous move of target_cpu
calculation, mpw-config.in needs it.
* mpw-config.in: Add generic include forwards for cpu-specific
include files in aout and elf directories.
Stan Shebs [Sat, 18 Mar 1995 00:23:15 +0000 (00:23 +0000)]
* mpw-config.in (TDEFINES): Define as empty in makefile frag.
Stan Shebs [Sat, 18 Mar 1995 00:14:30 +0000 (00:14 +0000)]
update for changed mpw filename
Stan Shebs [Sat, 18 Mar 1995 00:13:26 +0000 (00:13 +0000)]
* mpw-config.in (i386-unknown-aout): Change to i386-unknown-go32.
(i386-unknown-coff): Remove.
(sh-hitachi-hms): New target.
(emulation_ofiles): Set correctly for each target.
(version, TDEFINES): Add to makefile fragment.
* mpw-make.in (BISON): Use byacc instead of bison.
(em_*.c): Replace with e*.c everywhere.
(ldgram.h): Separate action from ldgram.c generation.
(LD_PROG): Depend on Version.r.
(Version.r): generate from version info.
* mpw-em.c: Remove.
* mpw-emipsidt.c: New file, modified for MPW from emipsidt.c.
Jeff Law [Fri, 17 Mar 1995 23:45:36 +0000 (23:45 +0000)]
* config/hppa.sed: Sed script to transform bintest.s into proper
PA assembly code.
* binutils-all/nm.exp: Enable these tests on the PA.
* binutils-all/objcopy.exp: Enable these tests on the PA. Expect
simple copy to fail.
* binutils-all/objdump.exp: Enable these tests on the PA. Handle
"CODE" as a section name.
* binutils-all/size.exp: Enable these tests on the PA.
* lib/utils-lib.exp (default_binutils_assemble): For "hppa*-*-*",
run the assembly through a sed script before passing it to the
assembler.
Stan Shebs [Fri, 17 Mar 1995 23:21:12 +0000 (23:21 +0000)]
* mpw-config.in (i386-unknown-go32): Change from aout.
(sh-hitachi-hms): New target.
* mpw-make.in (BISON): Use byacc instead of bison.
(VERSION): Bump to 4.14.1.
(*-pinsn.*): Remove mentions everywhere.
(all): Don't build MacGDB.
(gdb, SiowGDB): Depend on Version.r.
(Version.r): Generate from version info.
* main.c (main): Pass program name to START_PROGRESS, END_PROGRESS.
(main) [MPW]: Remove debugging hook.
* mac-xdep.c (debug_openp): New flag.
(mac_init): Set flag if env variable defined.
* ser-mac.c (mac_open): Clarify error message.
(mac_readchar): Call PROGRESS while looping.
(mac_write): Call sleep instead of sec_sleep.
(sec_sleep): Remove.
* source.c (openp) [MPW]: Only print debugging info if debugging.
* utils.c (query) [MPW]: Clarify that behavior is a bug.
Jeff Law [Fri, 17 Mar 1995 19:42:22 +0000 (19:42 +0000)]
* config/tc-hppa.c (pa_comm): Make sure to always reset the frag
and section for common symbols.
Ian Lance Taylor [Fri, 17 Mar 1995 16:51:36 +0000 (16:51 +0000)]
* elfcode.h (elf_link_add_object_symbols): Check whether a dynamic
object has already been included, and ignore it the second time.
Jim Kingdon [Fri, 17 Mar 1995 15:20:42 +0000 (15:20 +0000)]
* lib/gdb.exp: Skip CHILL for AIX and Solaris.
Jim Kingdon [Fri, 17 Mar 1995 14:49:24 +0000 (14:49 +0000)]
* stabs.texinfo (Negative Type Numbers): Mention the fact that
GDB, as well as AIX dbx, supports the size type attribute.
Jim Kingdon [Fri, 17 Mar 1995 14:46:55 +0000 (14:46 +0000)]
* gdb.base/nodebug.exp: Comment out redundant test. Make name of
tests unique.
Jim Kingdon [Fri, 17 Mar 1995 13:59:56 +0000 (13:59 +0000)]
* gdb.base/nodebug.exp: Comment out redundant test. Make name of
test unique.
Jim Kingdon [Fri, 17 Mar 1995 13:45:00 +0000 (13:45 +0000)]
* lib/gdb.exp: Skip CHILL for AIX.
Jason Merrill [Fri, 17 Mar 1995 01:20:00 +0000 (01:20 +0000)]
Duh. Really, duh.
Jim Kingdon [Fri, 17 Mar 1995 00:41:40 +0000 (00:41 +0000)]
* xcoffread.c (process_linenos): Make sure filename we pass to
start_subfile will cause deduce_language_from_filename to return
the correct thing. Reindent function to GNU standards.
Jim Kingdon [Fri, 17 Mar 1995 00:32:31 +0000 (00:32 +0000)]
* gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
one argument of type "<non-float parameter>".
J.T. Conklin [Fri, 17 Mar 1995 00:03:11 +0000 (00:03 +0000)]
* nlm/gdbserve.c (handle_exception): #if out call to StopBell,
as it is not available on NetWare 3 or PIN.
* nlm/ppc.c (StopBell): Removed.
Jim Kingdon [Thu, 16 Mar 1995 22:45:35 +0000 (22:45 +0000)]
* xcoffread.c (read_xcoff_symtab): When creating a dummy parameter
inferred from the traceback tags, give its type the name
"<non-float parameter>".
Michael Meissner [Thu, 16 Mar 1995 22:22:39 +0000 (22:22 +0000)]
Provide eabi C++ static constructor/destructor support.
Jason Merrill [Thu, 16 Mar 1995 21:37:09 +0000 (21:37 +0000)]
Thu Mar 16 13:35:30 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* configure.in: Fix --enable-shared logic in per-host.
Jim Kingdon [Thu, 16 Mar 1995 20:37:09 +0000 (20:37 +0000)]
* stabsread.c (rs6000_builtin_type): Recognize types -31 to -34.
Jim Kingdon [Thu, 16 Mar 1995 20:31:08 +0000 (20:31 +0000)]
* stabs.texinfo (Negative Type Numbers): Document types -31 to -34.
Ian Lance Taylor [Thu, 16 Mar 1995 19:14:24 +0000 (19:14 +0000)]
* ld.texinfo, ld.1: Document --whole-archive.
Ian Lance Taylor [Thu, 16 Mar 1995 19:06:41 +0000 (19:06 +0000)]
* ldlang.c (load_symbols): If whole_archive is true and ENTRY
describes an archive, call bfd_link_add_symbols on each member.
* ldmain.c (whole_archive): New variable.
(main): Initialize it to false.
* ldmain.h: Declare whole_archive.
* lexsup.c (parse_args): Grok --whole-archive switch.
Ian Lance Taylor [Thu, 16 Mar 1995 17:03:26 +0000 (17:03 +0000)]
* genscripts.sh (EMULATION_NAME): Set LIB_PATH to empty when not
using the default emulation.
Ian Lance Taylor [Thu, 16 Mar 1995 16:39:53 +0000 (16:39 +0000)]
* config/dgux.mh (HOSTING_EMU): Use -m rather than trying to set
LDEMULATION.
* config/hppaelf.mh (HOSTING_EMU): Likewise.
Stu Grossman [Thu, 16 Mar 1995 00:06:51 +0000 (00:06 +0000)]
* config/rom68k.exp: New file to support Motorola IDP board.
* gdb.base/a2-run.exp: Skip this file if noargs is set.
* gdb.base/break.c: Change things around so that this program
doesn't depend upon args. This is necessary to make remote
targets work (in general, they can't take args).
* gdb.base/break.exp: Don't try to send args to program. Don't
expect output. Also, replace lots of code with gdb_test.
Stu Grossman [Wed, 15 Mar 1995 23:31:14 +0000 (23:31 +0000)]
* findvar.c (read_register_bytes write_register_bytes): Make
these routines much smarter about updating registers from the
target, only doing so when absolutely necessary. This really
speeds up register modification on some remote targets.
* monitor.c: More cleanups. Get rid of monitor_load_ascii_srec.
BFD makes this unnecessary. Lots of debugging speedups.
* (expect): NULL terminate return string.
* (monitor_open monitor_supply_register parse_register_dump
monitor_wait monitor_fetch_register): Switch to using GNU regexp
library to parse multi-register displays.
* (monitor_read_memory): Read multiple bytes (up to 16) at once.
* (monitor_create_inferior): Call clear_proceed_status to make run
command notice first breakpoint.
* (monitor_load): Clean up. Reset inferior_pid, set pc to start
address and reset symbol table stuff to make loads put things into
a fresh state.
* (monitor_load_srec): Lower sleep time to 1 second.
* monitor.h (struct monitor_ops): Add register_pattern and
supply_register to monitor_ops.
* rom68k-rom.c: Add new support for handling register dumps.
Jim Kingdon [Wed, 15 Mar 1995 23:24:24 +0000 (23:24 +0000)]
* utils.c, defs.h (putchar_unfiltered, fputc_unfiltered): Make
argument be an int, not a char. Using a prototype followed by an
old-style function definition in a case where an argument is
widened is a GCC-ism not supported by the native AIX compiler.
J.T. Conklin [Wed, 15 Mar 1995 22:36:46 +0000 (22:36 +0000)]
* configure.in (alpha-*-netware*): Removed configuration.
J.T. Conklin [Wed, 15 Mar 1995 22:32:57 +0000 (22:32 +0000)]
Reworded comments. gdbserve.nlm is no longer NetWare/i386 specific.
J.T. Conklin [Wed, 15 Mar 1995 22:00:30 +0000 (22:00 +0000)]
* nlmstub.def: Removed, this was moved to nlm/gdbserve.def
long ago.
* config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
* nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
alpha.c, alpha.h, altdebug.h}: Removed.
J.T. Conklin [Wed, 15 Mar 1995 21:24:56 +0000 (21:24 +0000)]
* nlmstub.def: Removed, this was moved to nlm/gdbserve.def
long ago.
* config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
* nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
alpha.c, alpha.h, altdebug.h}: Removed.
Jim Kingdon [Wed, 15 Mar 1995 21:23:14 +0000 (21:23 +0000)]
* gdb.base/printcmds.exp (test_character_literals_accepted): Test
printing of '\'' (which is what the comment says we are testing,
even though we were not), not '''.
(test_integer_literals_rejected): Test that printing ''' is an error.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
gdb.chill/chexp.exp, gdb.base/printcmds.exp,
gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
Use gdb_test not test_print_accept.
* lib/gdb.exp: Remove test_print_accept.
J.T. Conklin [Wed, 15 Mar 1995 21:07:10 +0000 (21:07 +0000)]
* nlm/gdbserve.c (main): Add support for processing BOARD=
argument, deprecate NODE=.
Ian Lance Taylor [Wed, 15 Mar 1995 19:47:15 +0000 (19:47 +0000)]
* ecoff.c (ecoff_build_debug): The cur_scope field of a fil_ptr
may be NULL when given strange input. Don't core dump.
PR 6509.
Jim Kingdon [Wed, 15 Mar 1995 19:18:26 +0000 (19:18 +0000)]
* c-exp.y (yylex): Make an empty character constant an error.
Ian Lance Taylor [Wed, 15 Mar 1995 16:57:15 +0000 (16:57 +0000)]
* libelf.h (bfd_elf32__write_relocs): Don't declare.
(bfd_elf64__write_relocs): Don't declare.
Jim Kingdon [Wed, 15 Mar 1995 16:09:58 +0000 (16:09 +0000)]
* gdb.base/signals.exp (signal_tests_1): Make pass message
consistent with fail message.
Jim Kingdon [Wed, 15 Mar 1995 12:23:45 +0000 (12:23 +0000)]
* gdb.base/whatis.exp: Remove xfails for printing char vs.
unsigned char; the bug (PR 1821) is fixed.
* gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
* gdb.base/scope.exp (test_at_localscopes): Call pass for
successful tests--makes xfailing them work right.
Ian Lance Taylor [Wed, 15 Mar 1995 02:39:39 +0000 (02:39 +0000)]
* config/tc-mips.c (load_register): Don't use addiu for dli of an
unsigned seemingly negative number. Don't bother shifting a zero
value.
(mips_ip): For case 'j', if there are more alternatives, and the
ISA level is at least 3, don't accept an unsigned seemingly
negative number.
Jim Kingdon [Wed, 15 Mar 1995 01:57:01 +0000 (01:57 +0000)]
* gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
Ken Raeburn [Wed, 15 Mar 1995 00:44:25 +0000 (00:44 +0000)]
* read.c (s_app_line): Fix last patch to deal with a line number of 1.
Per Bothner [Tue, 14 Mar 1995 23:03:22 +0000 (23:03 +0000)]
* valops.c (value_arg_coerce): Do possible value_coerce_array
before determining type argument to value_cast.
Michael Meissner [Tue, 14 Mar 1995 22:05:48 +0000 (22:05 +0000)]
Warn rather than cause an error if the reloc is not compatible with -mrelocatable.
Jim Kingdon [Tue, 14 Mar 1995 21:25:19 +0000 (21:25 +0000)]
* lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
only \r\n, not .*. The test can pass .* as the last thing in
$pattern if that is what it wants. In addition to providing this
flexibility, this change should speed up pattern matching in cases
where the pattern already ended with .* (there were a number of
them). This change also helps catch bad patterns--in the old
scheme the typo "char \*" instead of "char \\*" would pass. Now
it is caught.
* Many .exp files: Update callers.
Stan Shebs [Tue, 14 Mar 1995 21:07:19 +0000 (21:07 +0000)]
* mpw-README: Filled in more details about how to install,
use, and rebuild.
* mpw-configure: Added copyright.
(target_cpu, target_vendor, target_os): Move after reading
of mpw-config.in, paste into generated Makefiles.
(TDEFINES): Remove.
* mpw-config.in: Check for presence of required build tools.
(target_libs): Add newlib.
(target_tools): Add examples.
(Read Me): Generate as "Read Me for MPW" instead.
* mpw-build.in: Base sub-builds on all-foo instead of do-foo.
(all-byacc, do-byacc, all-flex, do-flex, do-newlib): New actions.
(do-gas, do-gcc, do-gdb, do-ld): Build Version.r first.
Kung Hsu [Tue, 14 Mar 1995 18:48:06 +0000 (18:48 +0000)]
* remote-es.c: Replace ignore with 0.
Jim Kingdon [Tue, 14 Mar 1995 18:40:05 +0000 (18:40 +0000)]
* gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
clearer and does not spuriously match multiple ('s. Likewise for
) and *.
Jim Kingdon [Tue, 14 Mar 1995 18:06:26 +0000 (18:06 +0000)]
* gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
Ian Lance Taylor [Tue, 14 Mar 1995 17:32:12 +0000 (17:32 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Set force_maj
for -lc.N. From H.J. Lu <hjl@nynexst.com>.
Jim Kingdon [Tue, 14 Mar 1995 16:47:38 +0000 (16:47 +0000)]
* gdb.base/printcmds.exp (test_integer_literals_rejected): Change
"p '\'", which is the same as "p ''" once tcl gets done with
quoting, to "p '\\'", which I suspect is what is intended (one
backslash gets sent to GDB).
* gdb.base/printcmds.exp (test_artificial_arrays): New tests.