aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1995-01-05Keep last year's ChangeLogStan Shebs1-0/+1
1995-01-05 * stabsread.c (define_symbol): Handle `a' symbol type used forJeff Law2-0/+19
reference parameter passed in a register.
1995-01-05 * gdbtk.tcl (build_framework): Add standard commands menu, moreStan Shebs2-13/+62
windows to standard windows menu. (not_implemented_yet): Clarify message.
1995-01-05 * mpw-make.in (init.c): Use open-brace instead of mpw-open-brace.Stan Shebs2-1/+5
1995-01-05 * defs.h: move include tm.h up, so that the type LONGEST canKung Hsu2-6/+16
also based on the target requirement to determine. In this case target mips64.
1995-01-04 * remote-os9k.c (rombug_open): catch exception e in rombug.Kung Hsu2-3/+13
* remote-os9k.c (rombug_wait): print message before register display from rombug.
1995-01-04* top.c (locate_arg): Call strchr not index.Jim Kingdon2-1/+5
1995-01-04 * ch-exp.y (literal): Recognize NULL.Per Bothner3-83/+418
(tuple): Parse simple unlabelled tuples. * eval.c (evaluate_subexp case OP_ARRAY): Use expect_type to evaluate brace-initializer-expressions depending on context. (evaluate_subexp case UNOP_CAST): Pass the target type as expected type when evaluating the expression.
1995-01-04 * ch-typeprint.c (chill_type_print_base): Get names of PTR andPer Bothner3-6/+41
BOOL from TYPE_NAME. * ch-valprint.c (chill_print_type_scalar): New function, to handle TYPE_CODE_RANGE better than print_type_scalar does. (chill_val_print_array_elements): Use above new function.
1995-01-03keep sim-gdb.expStan Shebs1-0/+1
1995-01-03 * config/sim-gdb: New file, simulator testing support.Stan Shebs2-0/+124
1995-01-02Fixes PR 6111Stan Shebs2-7/+12
* remote-udi.c (udi_load): Tell symbol_file_add that the program being loaded is the main program.
1995-01-02Start this year's ChangeLog.Stan Shebs2-5910/+5919
1994-12-31 * config/m68k/tm-est.h: Remove cruft.Steve Chamberlain1-0/+4
1994-12-31 * config/m68k/tm-est.h: Remove cruft.Steve Chamberlain1-29/+4
1994-12-31 * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh.Stan Shebs2-3/+711
(not_implemented_yet): New proc. (build_framework): Add various file commands to file menu.
1994-12-30Sanitize out gdbtk references unless keep-gdbtk specifiedStan Shebs4-10/+93
1994-12-30 * Allow up to 10 whitespace separated arguments to user definedJeff Law4-22/+314
commands. * top.c (struct user_args): Structure for holding arguments to user defined commands. (print_command_line): Delete unused "tmp_chain" variable. Clean up flow control by having cases exit in the same manner. Before executing a command or evaluating an expression, substitute the current $arg0..$arg9 values if the command/expression uses them. (arg_cleanup): New function. (setup_user_args, locate_arg, insert_args): Likewise. (execute_user_command): Allow arguments to user defined commands. * Allow if/while commands to be used within a breakpoint command list. * breakpoint.c (bpstat_do_actions): Call execute_control_command rather than execute_command (passes entire command structure rather than just the command line text). (breakpoint_1): Use "print_command_line" to print a breakpoint command line (including control structures). * gdbcmd.h (execute_control_command): Provide extern decl. (print_command_line): Likewise. * top.c (execute_control_command): No longer static. (print_command_line): New function to recursively print a command line, including control structures.
1994-12-30 * hppa-tdep.c (pa_print_registers): Extract register values storedRob Savoye2-12/+35
in big endian format on big and little endian hosts.
1994-12-30 * array-rom.c: Support for Array Tech LSI33k based RAID diskRob Savoye3-1/+173
controller board. * configure.in: Recognize "mips*-*-ecoff*" rather than "mips*-idt-ecoff*" so it'll work for the LSI33k.
1994-12-30 * monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add supportRob Savoye6-19/+112
to monitor config structure for supported baud rates for a target and variable stop bits. * monitor.c (monitor_fetch_register): Store register values in big endian format on any host.
1994-12-29 * hppa-tdep.c (hppa_fix_call_dummy): Prefer import stubs overJeff Law2-15/+61
export stubs and actual shared library functions so that lazy binding works correctly. Try both __d_plt_call and __gcc_plt_call trampolines for calling import stubs.
1994-12-28 * a29k-tdep.c (pop_frame): Fix a variable name.Stan Shebs2-1/+5
1994-12-28 * hppa-tdep.c (push_dummy_frame): Refine code to determine whatJeff Law2-4/+26
space ID to place in the stack & inf_status structure. (hppa_pop_frame): Don't walk through trampoline code if popping a call dummy frame. (hppa_fix_call_dummy): Call the stack dummy directly if the current PC is in a shared library.
1994-12-28 * hppa-tdep.c (push_dummy_frame): Return type is void. ClearJeff Law2-12/+58
in_syscall bit in flags. Don't depend on the PC queue registers when in_syscall is set, they're not valid. * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Pass inf_status down to push_dummy_frame. (SR4_REGNUM): Define. * hppa-tdep.c: Misc. lint changes.
1994-12-28 * gdb.base/interrupt.exp: Test calling func1 twice.Jeff Law1-0/+4
1994-12-27 * breakpoint.c (watchpoint_check): Don't bother restoring theJeff Law2-60/+67
"selected" frame anymore, it's not necessary. Initialize the frame cache before trying to find the current frame in the frame chain.
1994-12-27 * somsolib.c (som_solib_add): Return without loading any sharedJeff Law2-0/+12
libraries if symfile_objfile is NULL. (som_solib_create_inferior_hook): Likewise.
1994-12-24 * remote-est.c: New file supports EST-300 CPU32 backgroundSteve Chamberlain5-0/+600
mode ICE. * remote-utils.c (sr_com): Call registers_changed. * configure.in (m68*-*-est*): New configuration. * config/m68k/tm-est.h: New file.
1994-12-24New files.Steve Chamberlain2-0/+75
1994-12-24 * Makefile.in (CLIBS): Put LIBIBERTY last.Stu Grossman3-40/+50
* gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for SIGIO handling.
1994-12-23 * ser-tcp.c (tcp_open): Cast to struct sockaddr when passing toJim Kingdon2-1/+11
function which expects that.
1994-12-22* nlm/gdbserve.c, nlm/ppc.c, nlm/ppc.h: Don't try to useJ.T. Conklin3-6/+10
ALTERNATE_MEM_FUNCS.
1994-12-22 * gdb.base/list.exp (test_forward_search): Set timeout higherJim Kingdon2-19/+48
when we'll be getting lots of output from gdb. * gdb.base/a1-selftest.exp: Move code that was inside expect -re "init_malloc" to after the expect statement. Run it if that regexp is taken, but also for two others which happen if source cannot be found.
1994-12-21 * monitor.c: Now supports xmodem as a remoteloadprotocol.Rob Savoye2-4/+31
1994-12-21 * config/mips/xm-irix4.h, config/mips/xm-irix5.h: #defineStu Grossman3-0/+13
_BSD_COMPAT to get reliable signal handling (needed for GDBtk).
1994-12-20 * gdb.base/printcmds.exp: New test, for printing register beforeJim Kingdon1-0/+5
program is running.
1994-12-20 * sparc-tdep.c, a29k-tdep.c, findvar.c (get_saved_register):Jim Kingdon3-0/+10
if !target_has_registers, call error().
1994-12-20 * value.h: Remove obsolete comments about FRAME vs structJim Kingdon2-11/+20
frame_info *.
1994-12-19 * gdbtk.tcl (update_assembly): Force update to make sure that pcStu Grossman2-0/+6
is visible when creating new assembly windows.
1994-12-19 * gdb.base/list.exp: Correct some alternate expect patternsPeter Schauer2-0/+892
to reflect changes in list1.c.
1994-12-19 * gdbtk.c (gdbtk_wait gdbtk_init): Use different method ofStu Grossman3-131/+173
enabling I/O interrupts for SVR4 (streams). * (start_saving_output save_output get_saved_output finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs gdbtk_init): Totally revamp to use TCLs dynamic string functions. Also, quote all data passed back to TCL to prevent errors with unmatched braces, odd characters, etc... This fixes several wierd problems with outputting strings containing unmatched braces. * (breakpoint_notify gdb_loc): Use long hex format to output addresses of breakpoints and PCs. This fixes some Alpha problems. * (breakpoint_notify): Add stream arg to call to gdbtk_fputs. * (gdb_listfiles): Also, go through the symtabs when looking for files. This makes xcoff work (sort of), but probably breaks something else. * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd TCL errors when hitting stop button. * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as that will trash the result. strdup the result instead and pass that on. Improve error handling as well. * gdbtk.tcl (gdbtk_tcl_flush): Use global def of current_output_win. Makes flushing actually work! * (asm_win_name create_asm_win update_assembly): Bunch of fixes to make assembly windows stop flashing when loading a new file. * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd errors from losing control. * (create_source_window): Add source file selection to View menu. * (create_command_window (<Key-Return> binding): Quote text fed into gdb_cmd to prevent eval errors.
1994-12-18 * sparc-tdep.c (sparc_pop_frame): Remove erroneous extra argumentPeter Schauer2-1/+6
to write_register.