aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-03-28 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.Jim Kingdon1-0/+6
Don't rely on the value of an auto variable before it has been initialized. Use gdb_test more.
1995-03-28 * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM):Peter Schauer1-2/+5
Fix definitions.
1995-03-28 * alpha-nat.c, irix4-nat.c, irix5-nat.c, mipsv4-nat.c,Peter Schauer7-29/+63
sparc-tdep.c (supply_gregset, supply_fpregset): Fill inaccessible registers with zero to handle recent read_register_bytes change. * irix4-nat.c, irix5-nat.c, mipsv4-nat.c (supply_gregset, fill_gregset): Fix handling of CAUSE_REGNUM. * mips-nat.c (store_inferior_registers): Handle unwritable registers when storing a single register. * config/mips/tm-irix3.h (CAUSE_REGNUM, BADVADDR_REGNUM): Fix definitions. * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Clear allocated mips_extra_func_info, if the debug info is corrupt, the PDR to fill it in might be missing.
1995-03-27 * vx-share/regPacket.h: a new file interfacing with vxworks.Kung Hsu2-0/+164
1995-03-27 * lib/gdb.exp (default_gdb_version): A version number must startJim Kingdon2-1/+7
with a digit, but other than that contains all characters up to the first whitespace character.
1995-03-26* gdb.base/commands.exp (breakpoint_command_test): New tests.Jim Kingdon1-0/+4
1995-03-26 * breakpoint.c (bpstat_do_actions): Once we've executed theJim Kingdon1-0/+5
commands, set bs->commands to NULL.
1995-03-25 * gdb.c++/*.exp: Warn if executable does not exist. The originalJim Kingdon1-0/+11
reason for skipping the warning was that configure.in sometimes intentionally skipped building the executables but the tcl code had no way of knowing. That (a) was always bogus with respect to error handling, (b) is no longer true (right now there is no way to skip C++ tests). * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1995-03-25 * gdb.base/list.exp: Add expect patterns for output fromPeter Schauer2-4/+40
SunPRO compiled executables. * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_* types.
1995-03-25 * sparc-tdep.c, config/sparc/tm-sun4sol2.hPeter Schauer2-4/+7
(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.
1995-03-25 * buildsym.c (patch_subfile_name): Update last_source_filePeter Schauer6-82/+149
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.
1995-03-25 * gdb.base/break.exp (test_next_with_recursion): Accept any lineJim Kingdon2-2/+15
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).
1995-03-25 * configure.in: Move test for m68*-est-* before m68*-*-coff*.Stu Grossman1-42/+10
* 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.
1995-03-25New file for controlling the EST.Stu Grossman1-0/+111
1995-03-25 * configure.in: Move test for m68*-est-* before m68*-*-coff*.Stu Grossman5-567/+184
* 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.
1995-03-24 * gdb.base/a1-selftest.exp (test_with_self): Remove comment whichJim Kingdon2-2/+5
apparently went with a (very) old xfail.
1995-03-24 * gdb.base/callfuncs.exp: call runto_main instead of runto main.Kung Hsu2-28/+30
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.
1995-03-24 * gdb.base/callfuncs.exp: call runto_main instead of runto main.Kung Hsu1-0/+34
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.
1995-03-24 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).Jim Kingdon3-5/+8
1995-03-24 * gdb.base/a1-selftest.exp: Don't check for # followed by a digitJim Kingdon2-1/+6
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.
1995-03-24* gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.Jim Kingdon2-20/+39
1995-03-24 * somsolib.c (som_solib_add): Handle case where a shared libraryJeff Law2-9/+12
referenced by a core file has sections without the SEC_ALLOC bit set (eg stabs sections).
1995-03-23* gdb.base/commands.exp (infrun_breakpoint_command_test): New test.Jim Kingdon2-18/+44
1995-03-23 * breakpoint.c (bpstat_do_actions): For each element in the bpstatJim Kingdon1-0/+6
chain, do all the commands regardless of whether they run the inferior.
1995-03-23 * mem-break.c (LITTLE_BREAKPOINT, BIG_BREAKPOINT): Define asDavid Edelsohn1-0/+11
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.
1995-03-23 * config/mt-slite: add LIBS and -nostdlib.Kung Hsu3-2/+267
* config/slite-gdb.exp: add this new file to support sparclite target.
1995-03-22 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.David Edelsohn2-2/+4
1995-03-22* gdb.base/a2-run.exp: Change argument to istarget fromDavid Edelsohn1-0/+6
"*-*-vxworks" to "*-*-vxworks*". * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1995-03-22Change argument to istarget from "*-*-vxworks" to "*-*-vxworks*".David Edelsohn2-11/+8
1995-03-22 * lib/gdb.exp: add proc runto_main, for targets that use stubs, thisKung Hsu1-0/+6
will not runto main but do a 'step' to step out of breakpoint(). * config/mt-slite: add -Dusestubs.
1995-03-22 * config/mt-slite: add -Dusestubs.Kung Hsu1-1/+2
1995-03-22 * lib/gdb.exp: add proc runto_main, for targets that use stubs, thisKung Hsu1-0/+47
will not runto main but do a 'step' to step out of breakpoint().
1995-03-22 * sparc-stub.c: add nop after 'bg good_wim'.Kung Hsu3-0/+7
* sparcl-stub.c: ditto.
1995-03-21 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@Jim Kingdon2-735/+742
instead of just @.
1995-03-21 * gdb.base/signals.exp: Add test for "handle all print".Jim Kingdon2-1/+14
* 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).
1995-03-21 * infrun.c (handle_command): Don't print TARGET_SIGNAL_0,Jim Kingdon1-0/+5
TARGET_SIGNAL_UNKNOWN, or TARGET_SIGNAL_DEFAULT.
1995-03-21 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one testJim Kingdon2-1/+6
for SunOS4 (reason for failure not investigated). Remove redundant test for $binfile.
1995-03-21* gdb.base/nodebug.c (array_index): Call malloc.Jim Kingdon1-0/+2
1995-03-21 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.Jim Kingdon2-0/+2417
1995-03-21* tuples.exp (do_tests): Make names of "print v_ps" test unique.Jim Kingdon2-1/+5
1995-03-20 * config/m68k/tm-m68k.h: Define D0_REGNUM and A0_REGNUM for registerStu Grossman1-0/+2
dump handling.
1995-03-20 * findvar.c (read_register_bytes write_register_bytes): MakeStu Grossman1-0/+2
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.
1995-03-20 * hppab-nat.c (store_inferior_registers): Sync with HPUX version.Jeff Law2-25/+43
1995-03-20 * gdb.base/recurse.exp: Update gdb_test invocation to use newJeff Law2-20/+25
conventions and slightly simplify the matching regexp.
1995-03-20 * hppah-nat.c (store_inferior_registers): Move check forStu Grossman2-11/+12
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.
1995-03-18 * mdebugread.c (parse_symbol): If finishing a function withoutPeter Schauer2-9/+47
known parameter type info, set that from parameter symbols. Remove commented-out add_param_to_type support.
1995-03-17 * mpw-config.in (i386-unknown-go32): Change from aout.Stan Shebs5-66/+108
(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.
1995-03-17* lib/gdb.exp: Skip CHILL for AIX and Solaris.Jim Kingdon2-2/+3
1995-03-17 * stabs.texinfo (Negative Type Numbers): Mention the fact thatJim Kingdon2-1/+6
GDB, as well as AIX dbx, supports the size type attribute.
1995-03-17 * gdb.base/nodebug.exp: Comment out redundant test. Make name ofJim Kingdon1-1/+1
tests unique.