aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-01-17Revert previous, ill-considered change to defs.hStan Shebs1-2/+0
1995-01-17 General cleanup and simplication of disassembler interface.Stan Shebs32-1506/+942
* a29k-pinsn.c, arm-pinsn.c, convex-pinsn.c, gould-pinsn.c, hppa-pinsn.c, i386-pinsn.c, i960-pinsn.c, m68k-pinsn.c, m88k-pinsn.c, mips-pinsn.c, ns32k-pinsn.c, pyr-pinsn.c, rs6000-pinsn.c, sparc-pinsn.c, tahoe-pinsn.c, vax-pinsn.c: Remove. * gould-tdep.c, ns32k-tdep.c, tahoe-tdep.c, vax-tdep.c: New files, had been -pinsn.c files. * Makefile.in (ALLDEPFILES): Remove removed files. (a29k-pinsn.o, arm-pinsn.o, convex-pinsn.o, gould-pinsn.o, hppa-pinsn.o, i386-pinsn.o, i960-pinsn.o, m68k-pinsn.o, m88k-pinsn.o, mips-pinsn.o, ns32k-pinsn.o, pyr-pinsn.o, rs6000-pinsn.o, sparc-pinsn.o, tahoe-pinsn.o, vax-pinsn.o): Remove compile actions. * arm-tdep.o, gould-tdep.o, ns32k-tdep.o, tahoe-tdep.o, vax-tdep.o: Add compile actions. * defs.h (tm_print_insn): New global. * a29k-tdep.c (gdb_print_insn_a29k): New function. (_initialize_a29k_tdep): Rename from _initialize_29k, set tm_print_insn. * alpha-tdep.c (print_insn): Remove. (_initialize_alpha_tdep): Set tm_print_insn. * arm-tdep.c (arm_print_insn): New function, was print_insn in arm-pinsn.c. * convex-tdep.c (convex_print_insn): New function, was print_insn in convex-pinsn.c. * h8300-tdep.c (print_insn): Remove. (gdb_print_insn_h8300): New function. (_initialize_h8300_tdep): New function. * h8500-tdep.c (print_insn): Remove. (_initialize_h8500_tdep): New function. * hppa-tdep.c (_initialize_hppa_tdep): Set tm_print_insn. * i386-tdep.c (_initialize_i386_tdep): New function. * i960-tdep.c (mem, next_insn): New functions, were in i960-pinsn.c. (_initialize_i960_tdep): Set tm_print_insn. * m68k-tdep.c (_initialize_m68k_tdep): New function. * m88k-tdep.c (_initialize_m88k_tdep): New function. * mips-tdep.c (gdb_print_insn_mips): New function. (_initialize_mips_tdep): Set tm_print_insn. * pyr-tdep.c (pyr_print_insn): New function, was print_insn in pyr-pinsn.c. * rs6000-tdep.c (_initialize_rs6000_tdep): New function. * sh-tdep.c (print_insn): Remove. (gdb_print_insn_sh): New function. (_initialize_sh_tdep): Set tm_print_insn. * sparc-tdep.c (_initialize_sparc_tdep): New function. * w65-tdep.c (print_insn): Remove. (_initialize_w65_tdep): New function. * z8k-tdep.c (print_insn): Remove. (gdb_print_insn_z8k): New function. (_initialize_z8k_tdep): Set tm_print_insn. * printcmd.c (print_insn): New function, generic disassembler. * config/*/*.mt (TDEPFILES): Remove refs to *-pinsn.o. * defs.h (query_hook, error_hook): Fix prototypes.
1995-01-16 * Makefile.in: add new files remote-vx29k.c, config/a29k/tm-vx29k.h,Kung Hsu5-121/+360
and config/a29k/vx29k.mt. * configure.in: add new configuration a29k-*-vxworks. * remote-vx29k.c: new file merged from WRS. * remote-vx.c: merge changes from WRS.
1995-01-16 * config/a29k/vx29k.mt: new file for new configuration.Kung Hsu2-0/+237
* config/a29k/tm-vx29k.h: new header file for newconfiguration.
1995-01-16* gdb.base/setvar.c (dummy): Call malloc.Jim Kingdon1-0/+2
1995-01-16 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoidJim Kingdon1-0/+3
losing with the irix4 sed.
1995-01-16 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signalJim Kingdon1-0/+5
ALRM" on irix4.
1995-01-16 * TODO: Remove items about corefile.exp testing new exec-file andJim Kingdon1-1/+6
backtrace; both are now done. Add items about printing enums.
1995-01-16 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.Steve Chamberlain5-0/+309
* configure.in: Suppprt for w65,
1995-01-16 * w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.Steve Chamberlain3-0/+235
* configure.in: Suppprt for w65,
1995-01-16new file.Steve Chamberlain1-0/+32
1995-01-15Sun Jan 15 14:36:19 1995 Steve Chamberlain <sac@splat>Steve Chamberlain4-4/+37
* breakpoint.h (disable_breakpoint, enable_breakpoint): New declarations. (enum bpdisp): Change name of 'delete' member to 'del'. (struct bpstat): Changed name to 'bpstats'. * breakpoint.c (disable_breakpoint, enable_breakpoint, breakpoint_chain): Made globally visible. (bpstat_stop_status): Use new name for bpstat. (break_command_1, watch_command_1, catch_command_1, breakpoint_auto_delete, denable_delete_breakpoint): Use 'del' instead of 'delete'. (set_breakpoint_sal): New function. * defs.h (registers_changed_hook): New declaration. * infcmd.c (run_stack_dummy): 'delete' is now 'del'. * inflow.c (new_tty): Treat WIN32 in same way as __GO32__ * main.c (main): Don't scan options when in WIN32 and exit without entering main loop. * m2-exp.y (m2_elx): Member 'class' is now 'aclass'. * symtab.h (struct symbol, struct partial_symbol): Changed name of member 'class' to 'aclass'. (SYMBOL_CLASS, PSYMBOL_CLASS): Reflect change. * top.c (registers_changed_hook): New definition. * utils.c (quit, notice_quit, initialize_utils): Treate WIN32 in same way as __GO32__. * value.h (c_typedef_print): Rename 'new' argument.
1995-01-14* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.Jim Kingdon1-9/+9
1995-01-14 * gdb.base/sigall.exp (test_one_sig): Attempt to recover ifJim Kingdon2-5/+23
"get signal $thissig" test fails.
1995-01-14 * infcmd.c (signal_command): For "signal 0", pass (CORE_ADDR)-1,Jim Kingdon2-1/+8
not stop_pc, to proceed.
1995-01-14* eval.c (evaluate_subexp): Clear expect_type except for C++ and CHILL.Jim Kingdon2-0/+17
1995-01-14* gdb.base/setvar.exp: Check for and reject crazy expected type hacks.Jim Kingdon1-0/+4
1995-01-13 * Makefile.in (all): Don't make libgdb-files.Stan Shebs2-7/+18
(libgdb): New action, makes libgdb-files.
1995-01-13 * infcmd.c (signal_command): Accept "signal 0"; the change to notJim Kingdon2-2/+12
accept it was accidental. "handle 0" and "info signal 0" remain illegal, though.
1995-01-13 * stabsread.c (read_enum_type): When pending enum symbols arePer Bothner2-5/+10
put into the enum type, they must be inserted in "backwards order, in case we've overflowed a struct pending buffer.
1995-01-12 * gdbtk.c gdbtk.tcl: Update/add copyright.Stu Grossman3-24/+58
* gdbtk.tcl (build_framework): Several fixes for filespec widget, including dismiss button, and better error handling. * (create_command_win): Bind button 2 to retrieve selection.
1995-01-12 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoidJim Kingdon2-29/+17
compiler warning with dec alpha compiler. * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove extra \n from gdb_test call (this explains why the prompt test that I removed yesterday was there). (user_defined_command_test): Remove extra \n and prompt test. * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL doesn't exist. * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL. Also remove alpha workaround, which turns out to be because SIGABRT == SIGLOST.
1995-01-12 Add procfs support for Alpha OSF/1-2.x.Peter Schauer4-2/+46
* config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic OSF/1 native support. * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly. (MUNCH_DEFINE): Removed. * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files for procfs support.
1995-01-12 * README: Add note about SPARCworks cc release 3.0 and higher.Peter Schauer6-13/+250
Add procfs support for Alpha OSF/1-2.x. * config/alpha/nm-osf.h: Renamed from nm-alpha.h, generic OSF/1 native support. * config/alpha/alpha-osf1.mh (NAT_FILE): Changed accordingly. (MUNCH_DEFINE): Removed. * config/alpha/alpha-osf2.mh, config/alpha/nm-osf2.h: New files for procfs support. * configure.in (alpha-dec-osf*): Use alpha-osf2.mh for OSF/1 release 2.x and higher, else alpha-osf1.mh, as the procfs support in release 1.x is incomplete. * Makefile.in (ALLCONFIG): Add config/alpha/alpha-osf2.mh. * alpha-nat.c (supply_gregset, fill_gregset, supply_fpgregset, fill_fpgregset): New routines for procfs support. * inftarg.c (_initialize_inftarg): Don't add ptrace support if we have an optional procfs and /proc is accessible. * procfs.c: Include sys/fault.h and sys/syscall.h before including sys/procfs.h. (unconditionally_kill_inferior): If PROCFS_NEED_PIOCSSIG_FOR_KILL is defined, additionally perform a PIOCSSIG to really terminate the inferior. (create_procinfo): Always return a result. (create_procinfo, do_attach): Don't trace T_IFAULT faults if PROCFS_DONT_TRACE_IFAULT is defined. (procfs_init_inferior): Use START_INFERIOR_TRAPS_EXPECTED as argument to startup_inferior if it is defined. (proc_set_exec_trap): If PIOCSSPCACT is defined, use it instead of tracing exits from exec system calls. Needed for the user level loader under Alpha OSF/1. (do_detach): Clear any pending signal if we want to detach from a process without a signal. (set_proc_siginfo): If PROCFS_DONT_PIOCSSIG_CURSIG is defined, don't issue a PIOCSSIG if pr_cursig already contains the signal we intend to set. (info_proc_signals): If PROCFS_SIGPEND_OFFSET is defined, the pending signals are numbered from 1 instead of 0. (info_proc_mappings): Increase size of output format for addresses if BFD_HOST_64_BIT is defined. (procfs_stop): Renamed from child_stop. (_initialize_procfs): Don't add procfs support if we have an optional procfs and /proc is not accessible.
1995-01-12* gdb.base/sigall.exp: Add workaround for alpha weirdness.Jim Kingdon2-1/+8
1995-01-12* gdb.base/help.exp: Don't test "help show".Jim Kingdon2-1/+12
1995-01-12 * gdbtk.tcl: Add button to control mixed source disassembly.Stu Grossman2-46/+95
* Use text widgets in expr window. The give me more control over layout. * Add auto-updating of exprs in expression window. * Handle expressions out of scope a bit better. * Make selected window pop up to the top when invoked via the menubar. * Make copyright message have raised relief.
1995-01-12 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tclStu Grossman2-2/+17
during startup.
1995-01-12 * array-rom.c: Add support for most commands.Rob Savoye2-2/+116
* monitor.c: Add GDB remote protocol for the hybrid environment on the Array board.
1995-01-11* gdb.base/help.exp: Replace most of docstring for "define" with ".*".Jim Kingdon2-5/+3
1995-01-11 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That testJim Kingdon2-35/+14
was a vestige of the manual TESTSTRATEGY, and the purpose of it was to make sure that gdb can read a core file. But (a) the "read the corefile" part didn't make it to a1-selftest.exp, we just delete the corefile after creating it, and (b) we test reading corefiles in corefile.exp anyway. Also, this test left around a xgdb process on Solaris. * gdb.base/corefile.exp: Also test backtrace.
1995-01-11Opps. Forgot to commit last night's ChangeLog entry.Jeff Law1-0/+8
1995-01-11 * command.c (show_user_1): Use print_command_line to show a userJeff Law2-3/+3
defined command (including control structures). * top.c (init_main): Change documentation for user defined commands to indicate they may accept up to ten arguments.
1995-01-11 * gdb.base/commands.exp: Test a simple user defined command withJeff Law2-1/+24
arguments and if/while statements; verify the full user command is printed by "show user".
1995-01-11 * gdb.base/commands.exp: Test if/while commands as part of aJeff Law2-0/+127
breakpoint command list; verify they appear in breakpoint information.
1995-01-11 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() ratherJim Kingdon2-0/+12
than by dividing by zero.
1995-01-11 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problemsJeff Law1-0/+7
performing an inferior call with watchpoints enabled. * gdb.base/watchpoint.c (main): Delete second unnecessary read call.
1995-01-10 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echoJim Kingdon1-0/+3
of "file" command.
1995-01-10 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):Jim Kingdon1-0/+6
Add additional pattern for when "int operator int(void);" appears in a different order.
1995-01-10 * mips-tdep.c (mips_skip_prologue): Accept or as well as addu forJim Kingdon2-2/+15
`move $s8, $sp' instruction.
1995-01-09* gdb.base/signals.exp: Call gdb_exit and gdb_start.Jim Kingdon1-0/+2
1995-01-09 * gdb.base/help.exp: Replace most of docstrings for "info signals"Jim Kingdon2-0/+2972
and "signal" with ".*".
1995-01-08 * TODO: Add note about "handle all nostop".Jim Kingdon4-0/+1556
* gdb.base/{sigall.c, sigall.exp}: New test. * gdb.base/Makefile.in: Add it.
1995-01-08 * target.c, target.h (target_signal_from_command): New function.Jim Kingdon3-79/+63
* infrun.c (handle_command, signals_info), infcmd.c (signal_command): Use it. * infrun.c, infcmd.c: Update docstrings for these commands. * target.h (enum target_signal), target.c (signals), target.c (target_signal_from_host, target_signal_to_host): Add TARGET_SIGNAL_REALTIME_* and TARGET_SIGNAL_PRIO for lynx. * config/tm-lynx.h: Define signal numbers for realtime events.
1995-01-07 * dbxread.c (process_one_symbol): Handle N_FUN symbolsPeter Schauer5-12/+124
for Sun acc 3.0 under SunOS4. Changes to improve handling of runtime common symbols under SunOS4. * minsyms.c (get_symbol_leading_char): New routine to determine the leading symbol character for an objfile. (prim_record_minimal_symbol_and_info, install_minimal_symbols): Use it. * objfiles.h (rt_common_objfile): New global, points to objfile containing the runtime common minimal symbols. * objfiles.c (free_objfile): Mark rt_common_objfile as unallocated before freeing it. * solib.c (allocate_rt_common_objfile): New routine to allocate an objfile for the runtime common minimal symbols. (solib_add_common_symbols): Allocate an objfile for the runtime common symbols if necessary and put common symbols into it. Clean up code and comments. (solib_add, special_symbol_handling): Cleanup comments regarding runtime common symbols. * stabsread.c (scan_file_globals_1): New routine, contains old scan_file_globals code. Checks if there are any unresolved global symbols before starting the expensive minimal symbol table search. (scan_file_globals): Now calls scan_file_globals_1 for the passed objfile and eventually for the runtime common objfile. Complains about any unresolved global symbols and removes them from the global symbol chain to avoid dangling pointers into the symbol table if the symbol table is reread.
1995-01-07sanitizationStan Shebs1-4/+6
1995-01-07Keep/lose gdbtk docsStan Shebs1-0/+42
1995-01-07 * gdbgui.texinfo: New file, manual for GUI (gdbtk) users.Stan Shebs3-0/+434
* Makefile.in (gdbgui.dvi, gdbgui.info): New actions.
1995-01-06 * Makefile.in (install_only uninstall): Indent for clarityStu Grossman7-76/+540
* core.c (dis_asm_read_memory): Add call to dis_asm_read_memory_hook to provide alternate way for disassembler to read memory. * defs.h: Protect from multiple inclusion. Add decl for dis_asm_read_memory_hook. * gdbtk.c (finish_saving_output): Don't do anything if not saving output. * (breakpoint_notify): Don't send null filename to tcl. * (gdb_eval): New tcl command to eval an expression. * (gdb_disassemble): New tcl command to do disassembly. This allows tcl code to choose between exec file and target memeory, and can also do mixed source and assembly. * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure that more of the environment is set up. Also, create link between gdb and tcl vars disassemble{-_}from{-_}exec. * gdbtk.tcl: New expression window support. * Make assembly window be 80 columns wide. * Use new disassembly method. Add menu items to select disassembly from exec file or target. * Change View menubar item to Options. * Get rid of Stack, Breakpoints, Signals, and Variables Windows, since they don't exist yet. * Pop up a copyright window on startup. * top.c: Make window startup be the default. * Add dis_asm_read_memory_hook.
1995-01-06 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argumentStan Shebs2-10/+10
when invoking GDB, suppresses any windowing interface.