aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-07-05 * defs.h: if __GO32__ or WIN32 the directory separating symbol shouldKung Hsu1-0/+3
be '\' not '/'.
1995-07-05 * remote-nindy (nindy_wait): Use infinite timeout reading afterKung Hsu2-1/+6
esacpe character.
1995-07-04 * infrun.c (wait_for_inferior): When switching from one thread toJeff Law3-0/+125
another, save infrun's state for the old thread and load infrun's previous state for the new thread. * thread.c (struct thread_info): Add new fields for thread specific state saved/restored in infrun.c. (add_thread): Initialize new fields. (load_infrun_state): New function. (save_infrun_state): New function. * thread.h (load_infrun_state): Provide external decl. (save_infrun_state): Likewise. More single-stepping patches for lynx-6100.
1995-07-04 * infrun.c (wait_for_inferior): When we hit a breakpoint for theJeff Law3-23/+81
wrong thread, make sure to write the fixed PC value into the thread that stopped. Restart all threads after single stepping over a breakpoint for a different thread. * breakpoint.c (set_momentary_breakpoint): Make momentary breakpoints thread specific in a multi-threaded program. * lynx-nat.c (child_resume): Add some comments. Correctly choose between the single and multi-threaded step and continue ptrace calls. Some of the lynx-6100 single stepping fixes.
1995-07-01Reflect comings and goings of files.Stan Shebs4-10/+15
1995-07-01 * config/h8300/h8300.mt: Renamed from h8300hms.mt.Stan Shebs18-434/+131
* config/h8500/h8500.mt: Renamed from h8500hms.mt. * config/z8k/z8k.mt: Renamed from z8ksim.mt. * configure, configure.in: Update to reflect renamings. * remote-sim.c (sim): New command, passes commands to simulator. (simulator_command): New function. (gdbsim_ops): Clean up. * remote-sim.h (sim_do_command): Declare. * sh-tdep.c (memory_size): Remove command. * Makefile.in (SIM, SIM_OBS): New variables. (CLIBS, CDEPS): Add value of SIM. (DEPFILES): Add value of SIM_OBS * config/arm/arm.mt, config/h8300/h8300.mt, config/h8500/h8500.mt, config/sh/sh.mt, config/sparc/sp64sim.mt, config/w65/w65.mt, config/z8k/z8k.mt: Remove simulator files from TDEPFILES, define in SIM_OBS and SIM. config/sparc/sp64sim.mt (SIMFILES): Remove. * remote-z8k.c: Remove, was superseded by remote-sim.c * Makefile.in, mpw-make.in: Remove references to remote-z8k.c.
1995-06-25 * remote.c (remote_read_bytes, remote_write_bytes): Second argStan Shebs2-1/+10
should be char *, not unsigned char *. * dcache.h (memxferfunc): Ditto. * monitor.c (monitor_write_memory, monitor_read_memory_single): Ditto. (monitor_make_srec): Let compiler figure size of hextab.
1995-06-25 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.Jeff Law1-0/+4
1995-06-25 * lynx-nat.c (child_wait): Don't restart new threads and loopJeff Law2-6/+15
to the top of child_wait; let the machine independent code in wait_for_inferior deal with new thread notifications. lynx-6100 (partial) Fixes SEGV when multi-threaded program hits a breakpoint in a new thread.
1995-06-23 * remote-nindy (nindy_load): Put in target specific load, it'sKung Hsu2-1/+46
20 times faster.
1995-06-23 * utils.c (error): Move local `args' outside conditional,Stan Shebs1-0/+4
move local `string1' inside, declare function as void if non-ANSI compiler, dereference error_hook when calling.
1995-06-23 * mac-xdep.c (stdarg.h): Don't include.Stan Shebs2-2/+4
1995-06-22 gdb.texinfo: gdb manual up to date for 95q3Victoria Mixon2-698/+966
remote.texi:
1995-06-22 * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.Kung Hsu2-2/+6
1995-06-22 * gdb.base/return.exp: Xfail `return double' test failureFred Fish1-0/+14
on at least Solaris 2.3 and handle future/past versions on a case by case basis as appropriate. Also update message to include i*86 failures.
1995-06-21Hmm.. The ChangeLog went in, but not the code....Steve Chamberlain9-464/+750
* monitor.c: Turn on caching. (monitor_printf): If a ^C was sent, don't expect to see its echo. (monitor_open): Enable caching. (monitor_resume, monitor_load): Flush cache. (monitor_xfer_memory): Call cache routine. (monitor_dump_regs): New. (monitor_fetch_registers): If monitor_dump_regs available then use it. (monitor_load): Don't ref exec_bfd if it's NULL. (monitor_load_srec): Use new monitor_make_srec calling convention. (monitor_make_srec): Rewrite to cope with two, three and four byte addresses. * remote-hms.c (hms_cmds): Initialze end-of-command delim. * dcache.h, dcache.h: Rewritten. * remote.c: Reenable caching. (getpkt): Reduce MAX_TRIES to 3. (remote_xfer_memory): Use dcache_xfer_memory. * defs.h (error_hook): New. * top.c (error_hook): New definition. * utils.c (error): Use error_hook if initialized. * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR andJeff Law2-7/+12
HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
1995-06-21Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+26
* monitor.c: Turn on caching. (monitor_printf): If a ^C was sent, don't expect to see its echo. (monitor_open): Enable caching. (monitor_resume, monitor_load): Flush cache. (monitor_xfer_memory): Call cache routine. (monitor_dump_regs): New. (monitor_fetch_registers): If monitor_dump_regs available then use it. (monitor_load): Don't ref exec_bfd if it's NULL. (monitor_load_srec): Use new monitor_make_srec calling convention. (monitor_make_srec): Rewrite to cope with two, three and four byte addresses. * remote-hms.c (hms_cmds): Initialze end-of-command delim. * dcache.h, dcache.h: Rewritten. * remote.c: Reenable caching. (getpkt): Reduce MAX_TRIES to 3. (remote_xfer_memory): Use dcache_xfer_memory. * defs.h (error_hook): New. * top.c (error_hook): New definition. * utils.c (error): Use error_hook if initialized. * sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 * config/pa/tm-hppa.h (PSW_*): Define processor status word masks.Jeff Law2-0/+30
(INSTRUCTION_NULLIFIED): Allow specific targets to override. * config/pa/tm-hppao.h (INSTRUCTION_NULLIFIED): Define to work around losing mach kernel behavior.
1995-06-20 * gdb.texinfo: Update dates and versions, fix comments aboutStan Shebs2-20/+21
hardware watchpoints in future releases and about the sharedlibrary command.
1995-06-20 * monitor.c (monitor_wait): Don't use the watchdog timeoutStan Shebs3-7/+33
if its value is 0. * w89k-rom.c (w89k_open): Define to be static.
1995-06-20 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.Stu Grossman2-0/+26
1995-06-20 * gdbtk.tcl (add_breakpoint_frame): Add more fields.Stu Grossman2-8/+137
* (create_file_win create_asm_win build_framework): Create null bindings for meta keys to keep window from dropping down to insertion point when meta is pressed by itself. New bindings: Up/Down - Scroll up/down one line at a time Next/Prior - Scroll up/down one page at a time Home/End - Warp to current pc/end of file * (build_framework): Turn on breakpoint menu. * (create_command_window): Implement tab completion. Add binding for ^C to stop target.
1995-06-19 * somsolib.c (som_solib_add): Validate regexp argument.Jeff Law2-9/+48
Don't assume the first entry on dld's library list is the main program. Don't load the same library more than once and don't consider the main program a shared library. (som_solib_sharedlibrary_command): New function (_initialize_som_solib): Add "sharedlibrary" command. mentor-7135
1995-06-15 * array-rom.c: Remove, no longer used.Stan Shebs5-133/+19
* remote-hms.c (hms_open): Make static. * mpw-config.in (MacSerial.h): Copy from version in {CIncludes}, not {MPW}Interfaces:CIncludes. * ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.
1995-06-14 * ch-exp.y: Remove lots of unsupported productions and names.Per Bothner1-265/+48
Add support for IF-expressions, ORIF, ANDID, NUM, and ADDR. This makes progress for PR 5826.
1995-06-14Copyright update in tm-est.h, and minor formatting cleanup.Stu Grossman1-2/+2
Add remote-est.o to TDEPFILES in monitor.mt.
1995-06-14 * chillvars.exp, string.exp: New tests for LOWER/UPPER/LENGTHPer Bothner3-0/+23
1995-06-14 * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.Per Bothner5-32/+161
* expression.h (enum exp_opcode): Added UNOP_LOWER, UNOP_UPPER, UNUP_LENGTH. * expprint.c (dump_expression): Handle the new exp_opcodes. (print_subexp): Handle PREC_BUILTIN_FUNCTION. (print_simple_m2_func): Removed. (print_subexp): Remove support for Modula2 builtin functions. * m2-lang.c (m2_op_print_tab): Add support for builtin functions. * ch-exp.y: Parse LOWER, UPPER, and LENGTH builtins. (write_lower_upper_value): Convenience function for LOWER and UPPER. (upper_lower_argument, length_argument): Removed non-terminals. * ch-lang.c (chill_op_print_tab): Entries for UPPER, LOWER, LENGTH. (type_lower_upper): New function. Calculate LOWER/UPPER of type. (value_chill_length): New function. Calcalate LENGTH of ARRAY/STRING. (evaluate_subexp_chill): Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH. This fixes PR 5015 (and 5826 which is a duplicate).
1995-06-12 Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.Stan Shebs2-8/+21
* defs.h: Don't declare strchr and friends if WIN32. (DIRNAME_SEPARATOR): Move here from source.c. (SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros, symbolic definitions for filename bits. * top.c (cd_command): Use these. * source.c (mod_path, openp): Ditto. * terminal.h: Disable termio/sgtty definitions if WIN32. * findvar.c (registers_changed): Call registers_changed_hook if it is defined.
1995-06-12* Makefile.in (distclean, realclean): Remove config.cache andJ.T. Conklin1-0/+5
config.log.
1995-06-12Zap static data problem off the TODO list.Jeff Law1-3/+0
1995-06-12 * somsolib.c: Include gdb-stabs.h.Jeff Law2-5/+18
(som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1, etc. Initialize offsets for RODATA & BSS too. Remainder of mentor-6302.
1995-06-11 * hppa-tdep.c (frame_chain): Try to compensate for incompleteJeff Law2-11/+62
register information in core files when backtracing.
1995-06-09 * remote-nrom.c: Remove everything but download code. MoreStu Grossman1-1052/+40
cleanups.
1995-06-08typo in tcp_openStu Grossman1-0/+1
1995-06-08 * defs.h maint.c monitor.c remote-mips.c remote.c: Add supportStu Grossman8-121/+253
for `watchdog' variable. This allows the user to put an upper limit on the amount of time that GDB will wait for the target to return from a step or continue operation. This will primarily be used for the testsuite, where it is difficult to come up with a reasonable timeout for things like function calls, which can take as long as three minutes under some circumstances. If the watchdog timer expires, GDB will generate an error that looks like `Watchdog has expired.', and will detach from the target. * remote-mips.c (mips_open): Setup initial frame from target. Print it out so that user is told where the program is stopped when they attach. * remote-nrom.c: Loads of cleanups. Use serial code to open network connections. Use expect() to wait for response to download command. * ser-tcp.c (tcp_open): Retry connection if we get ECONNREFUSED. * serial.c serial.h (serial_open serial_fdopen serial_close): Allow users to open the same device multiple times. They all get to share the same serial_t. This is about the only way to have multiple active targets use the same device (for download and debug). * sparcl-tdep.c: Keep #include <unistd.h> away from GO32. * target.c: Add `targetdebug' variable. If this is non-zero, then a special target is put at the top of the target stack which will cause all calls through the target vector to have their args and results printed out.
1995-06-08 * chillvars.ch (xptr): Declare new variable.Per Bothner3-0/+14
* chillvars.exp (test_ptr): New function to test EXPR->MODENAME. This is to test PR chill/6932.
1995-06-08 * ch-exp.y: Handle <primitive_value> "->" <modename>.Per Bothner1-0/+7
This fixes PR chill/6932.
1995-06-07Do not redefine {BIG,LITTLE}_BREAKPOINT if already defined.Michael Meissner1-0/+4
1995-06-07Define BREAKPOINT as either {BIG,LITTLE}_BREAKPOINT, depending on target ↵Michael Meissner1-0/+6
byte order.
1995-06-07 * somsolib.c (som_solib_section_offsets): Handle relative pathnames.Jeff Law2-2/+5
Part of mentor-6302.
1995-06-07 * hppa-tdep.c (frame_saved_pc): Handle backtracing through signalJeff Law2-1/+21
handler in dynamically linked executables. mentor-7139
1995-06-06Fix some little endian problemsMichael Meissner3-8/+48
1995-06-02 * arc-tdep.c (arc_bfd_mach_type): New static global.David Edelsohn2-28/+101
(codestream_fill): Handle byte order differences. (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N". (arc_get_frame_setup): Read it here. (arc_frame_saved_pc): And here. (arc_print_insn): New function. (arc_set_cpu_type): Set arc_bfd_mach_type. Don't set tm_print_insn. (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
1995-05-31* nlm/{configure.in, Makefile.in}: Converted to use autoconf.J.T. Conklin5-100/+918
* nlm/configure: New file, generated with autoconf 2.3.
1995-05-31* nlm/configure.in: Use sed instead of awk to get the value ofJ.T. Conklin2-5/+10
cpufile. Awk is not a utility required by the GNU coding standards. This change also fixes the rigid whitespace requirements that were required for awk.
1995-05-31* sparclite/aload.c: Use a file descriptor instead of a stdioJ.T. Conklin1-0/+10
stream for i/o with target board. Use #error if HAVE_TERMIOS is not defined. * sparclite/{Makefile.in, configure.in}: Converted to use autoconf. * sparclite/configure: New file, generated with autoconf 2.3.
1995-05-29 * defs.h: Include either varargs.h or stdarg.h (for va_list).Jeff Law1-0/+3
Fix stupid thinko in last change ("..." -> "va_list").
1995-05-29 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;Jeff Law2-39/+68
gcc-2.5 chokes on format attributes for unprototyped functions. (vfprintf_filtered declaration): Likewise. (vprintf_unfiltered declaration): Likewise. (vfprintf_unfiltered). Likewise.