aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1997-06-07start-sanitize-gdbtkPeter Schauer5-12/+36
* gdbtk.c (gdb_get_breakpoint_info): Add string for new enumeration del_at_next_stop to bpdisp array. end-sanitize-gdbtk * eval.c (evaluate_subexp_for_sizeof): Handle dereferencing of non-pointer values. * symtab.c (gdb_mangle_name): Improve mangling of nested types, their physical names already include the class name. * valops.c (value_cast): Handle upcast of a class pointer. From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): * corelow.c (get_core_registers): Make secname big enough.
1997-06-06 Modified Files:Keith Seitz3-1/+52
ChangeLog sh-tdep.c config/sh/tm-sh.h * config/sh/tm-sh.h: add define for FPSCR_REGNUM * sh-tdep.c (sh_show_regs): print out all registers for the current processor
1997-06-06sim_kill() isn't used.Andrew Cagney2-2/+25
1997-06-04 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmdBob Manson2-36/+60
here. Call gdb_target_exec before rebooting the target, to make sure the connection to the target is closed. (gdb_load): Pass the name of the executable to gdb_target_monitor. Don't call gdb_file_cmd here; let gdb_target_monitor do it. * config/gdbserver.exp: Pass the executable being loaded to gdb_target_monitor. Don't call gdb_file_cmd here; let gdb_target_monitor do it. * gdb.disasm/hppa.exp: Don't use exec_output.
1997-06-03 * configure.tgt: add mipsr3900-elf targetMichael Snyder8-0/+132
* config/mips/r3900*.mt config/mips/tm-r3900*.h: ditto
1997-06-03 * Makefile.in (LIB_RUNTIME_DIR): New variable.Tom Tromey1-0/+10
1997-06-03 Added proelf.Bob Manson1-0/+1
1997-05-23 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we runBob Manson1-1/+16
test_calls after restarting. * lib/gdb.exp(gdb_run_cmd): Send jump command again after reloading. * gdb.base/watchpoint.exp: Fix typo. * gdb.base/setshow.exp: Check for use_gdb_stub. * gdb.base/break.exp: Fix continue until exit test for the gdb stub case. * gdb.base/langs.exp: Ditto. * config/monitor.exp(gdb_load): Handle gdb_sect_offset and gdb_load_offset. If we weren't given a file to load, figure out what the current file is and use it.
1997-05-23 * config/monitor.exp(gdb_load): Handle gdb_sect_offset andBob Manson3-36/+83
gdb_load_offset.
1997-05-23 * infcmd.c (jump_command): Don't try to dereference sfn if it'sBob Manson1-0/+5
NULL.
1997-05-23 * config/i386-bozo.exp: New file.Bob Manson2-0/+5
1997-05-23Don't restrict the endian commands to BI-ENDIAN gdb.Andrew Cagney2-18/+27
1997-05-23 Make sure we keep the old value of timeout set properly.Bob Manson1-3/+7
1997-05-23 Don't look at timeout unless it exists.Bob Manson1-3/+9
1997-05-23 * lib/gdb.exp(gdb_expect): Look for gdb,timeout targetBob Manson2-0/+11
feature.
1997-05-23 * config/proelf.exp: New entry.Bob Manson2-0/+24
1997-05-22 * lib/gdb.exp: Remove spurious .* patterns at the beginningBob Manson2-28/+37
of regexps.
1997-05-22 * gdb.base/watchpoint.exp: Don't run the test_steppingBob Manson2-8/+14
tests if gdb can't call functions on the target.
1997-05-22 add new file.Bob Manson1-0/+1
1997-05-22Restrict simulator commands to an enabled simulator.Andrew Cagney2-8/+22
1997-05-22 * gdb.base/setshow.exp: Don't run the set prompt tests ifBob Manson2-14/+21
the board has gdb_prompt set.
1997-05-21Wed May 21 16:03:25 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-380/+715
* procfs.c (init_procinfo): new function, abstracts some code shared by create_procinfo and do_attach; (procfs_set_inferior_syscall_traps): new function, abstracts some code needed by procfs_init_inferior, do_attach, and procfs_lwp_creation_handler; (procfs_first_available): new function, find any LWP that's runnable; (procfs_thread_alive): replace stub function with real implementation; (procfs_lwp_creation_handler): fix bug starting new child threads; (info_proc): bug fixes and enhancements for the "INFO PROCESSES" command; (close_procinfo_file): call new function "delete_thread" to cleanup GDB's thread database; (proc_init_failed): add new argument "kill", to control whether process is killed (so this function can be shared by create_procinfo and do_attach); (procfs_exit_handler): handle exit from an attached process, and cleanup procinfo handles when the process exits; (procfs_resume, procfs_wait): cleanup after a thread when it exits; (do_attach, do_detach): handle attached processes with multiple threads; plus some general improvements in the diagnostic output. * sol-thread.c (sol_thread_alive): replace stub with real implementation; (thread_to_lwp, lwp_to_thread): enhance to handle threads that may have exited; (sol_thread_attach): add startup setup stuff; (sol_thread_detach): add unpush_target call; (sol_thread_mourn_inferior): add unpush_target call; (sol_thread_wait, sol_thread_resume): enhance to deal with thread exit cleanly; (sol_thread_new_objfile, sol_thread_pid_to_str): detect unsuccessful startup and don't crash; plus some general cleanup. * thread.c (delete_thread): new function, allows targets to notify gdb when a thread is no longer valid. * infrun.c (wait_for_inferior): don't try to detect a new thread on receiving a TARGET_EXITED event.
1997-05-20 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".Jeff Law2-1/+21
* gdb.base/commands.exp: Likewise. * gdb.base/setshow.exp: Likewise.
1997-05-20Depreciate sim_set_callbacks() function. Set simulator callbacksAndrew Cagney1-5/+3
during sim_open().
1997-05-19 * config/monitor.exp(gdb_start): Look for gdb_prompt targetBob Manson1-0/+20
feature. * config/i960.exp: New file.
1997-05-15 * config/rs6000/tm-rs6000.h (SIG_FRAME_LR_OFFSET): Define.Peter Schauer2-7/+40
* rs6000-tdep.c (frameless_function_invocation): Mark frames with a zero PC as frameless to improve backtraces from core dumps caused by dereferencing a NULL function pointer. (frameless_function_invocation, frame_saved_pc, rs6000_frame_chain): Handle frameless functions interrupted by a signal. * sparc-tdep.c (sparc_init_extra_frame_info, sparc_frame_saved_pc): Handle frameless functions interrupted by a signal.
1997-05-14 * mn10200-tdep.c (mn10200_analyze_prologue): Update prologue commentsJeff Law2-12/+199
to reflect current reality. Gross attempt at handling out of line prologues.
1997-05-14 * mn10200-tdep.c (mn10200_skip_prologue): Don't look at the debugJeff Law2-18/+9
symbols to find the end of the prologue. * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1997-05-14Fix total number of tic80 registersAndrew Cagney2-1/+7
1997-05-13Fix tic80 sanitization.Mark Alexander1-0/+2
1997-05-12 * tic80-tdep.c, config/tic80/tm-tic80.h: First cut at gettingMark Alexander3-51/+504
basic C80 features working.
1997-05-08Add h8300.exp.Mark Alexander1-0/+1
1997-05-08Part II of getting GdbTk's stop button to always work.Andrew Cagney6-119/+204
1997-05-06Remove remote-pa.c.Mark Alexander1-1/+0
1997-05-06Tue May 6 13:53:05 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+11
* Add overlay tests to gdb.base/.Sanitize
1997-05-04 * utils.c (floatformat_from_doublest): Handle infinity properly.Mark Alexander1-9/+32
1997-05-01Thu May 1 11:44:46 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-142/+158
* Finalize merge from Hurd folk. Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> * thread.c (thread_apply_command, thread_apply_all_command, thread_command): Make sure TP is alive. (thread_alive): New function. Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> * infrun.c (sig_print_info): Deal better with long signal names. Wed Nov 22 15:23:35 1995 Miles Bader <miles@gnu.ai.mit.edu> * thread.c (thread_id_to_pid): New function. Fri Dec 1 13:25:25 1995 Miles Bader <miles@gnu.ai.mit.edu> * gnu-nat.c: (set_thread_cmd_list, show_thread_cmd_list, set_thread_default_cmd_list, show_thread_default_cmd_list): New variables. (set_thread_cmd, show_thread_cmd, set_thread_default_cmd, show_thread_default_cmd): New functions. Fri Apr 18 15:20:16 1997 Miles Bader <miles@gnu.ai.mit.edu> * gnu-nat.c (inf_startup): remove TASK parameter. (inf_set_task): replace with new function (inf_set_pid). * gdbthread.h: Add extern decl for thread_cmd_list.
1997-05-01 * printcmd.c (disassemble_command): Adjust low function boundPeter Schauer1-0/+5
by FUNCTION_START_OFFSET.
1997-04-30Define TiC80 break point (tmp)Andrew Cagney2-1/+29
1997-04-29Mon Apr 28 21:25:32 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-96/+181
* Makefile.in: Add rule for gnu-nat.o and i386gnu-nat.o (Gnu Hurd) * config/i386/i386gnu.mh: remove rules for [i386]gnu-nat.o, now in Makefile.in (as for other targets); add NATDEPFILE corelow.o to satisfy symbol dependancy in solib.c (core_ops). * target.[ch] conditionalize Mach-specific signals so that they won't show up in non-Mach gdb's! * thread.c: add function thread_id_to_pid; change name of static function "thread_switch" to "switch_to_thread", to avoid conflict with Mach global symbol; move thread_cmd_list to global scope so targets can add their own thread commands. * infrun.c: sig_print_info: allow for long signal names. * gnu-nat.[ch]: tidying up comments. * gnu-nat.c: move several functions to static scope, just for tidy; remove calls to prune_threads and renumber_threads; gnu_wait must not return -1 when inferior exits; attach_to_child will modify inferior_pid in a way that allows fork_inferior to remain unchanged; remove extra arg from startup_inferior; move mach-specific thread commands here from thread.c.
1997-04-29Mon Apr 28 18:21:20 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* symtab.c: decode_line_1, replace the assignment to values.sals[0].pc which I accidentally left out on 4/3/97.
1997-04-29Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-12/+24
* c-exp.y, java-exp.y: make parse_number reject "123DEADBEEF". (fix by Bob Manson).
1997-04-29Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-2/+12
* top.c: change "to enable to enable" to "to enable" in a couple of help strings.
1997-04-28 * breakpoint.c (remove_breakpoint): Pass correct type toMark Alexander2-16/+36
target_remove_watchpoint. * target.h: Improve comment for target_{remove,insert}_breakpoint.
1997-04-26 * alpha-tdep.c (heuristic_proc_desc): Increase search limitPeter Schauer2-8/+18
for return address register, handle `ret' instruction.
1997-04-26 * corelow.c (get_core_registers): Initialize cf.Peter Schauer3-14/+45
* procfs.c: Minor changes to make pre-ANSI compilers happy. (procfs_notice_signals): Copy traced signal set back to pi->prrun.pr_trace. (unconditionally_kill_inferior): If PR_DEAD is defined, rerun inferior after killing it.
1997-04-25 * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): TheJeff Law3-4/+10
structure value address is found in $a0 now. * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. Fixes some struct.exp failures.
1997-04-24 * gdb.base/callfuncs.exp: Mark some tests as expected to failJeff Law1-0/+5
on the mn10300.
1997-04-24 * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers areJeff Law2-2/+18
returned in $a0. (EXTRACT_RETURN_VALUE): Likewise. * mn10300-tdep.c (mn10300_analyze_prologue): Check for a return insn at "pc", not "fi->pc".
1997-04-24Fix? some reg definitionsAndrew Cagney2-13/+34