aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1994-12-31 * config/m68k/tm-est.h: Remove cruft.Steve Chamberlain1-0/+4
1994-12-31 * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh.Stan Shebs1-0/+8
(not_implemented_yet): New proc. (build_framework): Add various file commands to file menu.
1994-12-30Sanitize out gdbtk references unless keep-gdbtk specifiedStan Shebs1-7/+45
1994-12-30 * Allow up to 10 whitespace separated arguments to user definedJeff Law1-0/+27
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 Savoye1-0/+3
in big endian format on big and little endian hosts.
1994-12-30 * array-rom.c: Support for Array Tech LSI33k based RAID diskRob Savoye1-0/+5
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 Savoye1-0/+8
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 Law1-0/+7
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 Shebs1-0/+4
1994-12-28 * hppa-tdep.c (push_dummy_frame): Refine code to determine whatJeff Law1-0/+7
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 Law1-0/+11
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-27 * breakpoint.c (watchpoint_check): Don't bother restoring theJeff Law1-0/+5
"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 Law1-0/+6
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 Chamberlain1-0/+8
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-24 * Makefile.in (CLIBS): Put LIBIBERTY last.Stu Grossman1-0/+6
* 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 Kingdon1-0/+10
function which expects that.
1994-12-21 * monitor.c: Now supports xmodem as a remoteloadprotocol.Rob Savoye1-0/+4
1994-12-21 * config/mips/xm-irix4.h, config/mips/xm-irix5.h: #defineStu Grossman1-0/+5
_BSD_COMPAT to get reliable signal handling (needed for GDBtk).
1994-12-20 * sparc-tdep.c, a29k-tdep.c, findvar.c (get_saved_register):Jim Kingdon1-0/+3
if !target_has_registers, call error().
1994-12-20 * value.h: Remove obsolete comments about FRAME vs structJim Kingdon1-0/+5
frame_info *.
1994-12-19 * gdbtk.tcl (update_assembly): Force update to make sure that pcStu Grossman1-0/+5
is visible when creating new assembly windows.
1994-12-19 * gdbtk.c (gdbtk_wait gdbtk_init): Use different method ofStu Grossman1-0/+33
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 Schauer1-0/+5
to write_register.
1994-12-18 * tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.Jim Kingdon1-1/+46
* sparc-tdep.c (sparc_init_extra_frame_info): Set it. (examine_prologue, sparc_init_extra_frame_info): Use ->frame plus ->sp_offset to compute the address something is saved at, not ->bottom. * sparc-tdep.c (get_saved_register): New function. * tm-sparc.h: Define GET_SAVED_REGISTER; don't define FRAME_FIND_SAVED_REGS, HAVE_REGISTER_WINDOWS or REGISTER_IN_WINDOW_P. * stack.c (frame_info): Add comment about what to do if FRAME_FIND_SAVED_REGS is not defined. * sparc-tdep.c (sparc_init_extra_frame_info): Set ->frame field here. Get it right for flat frames. * sparc-tdep.c (sparc_frame_chain): Instead of returning meaningful value for ->frame field, just return dummy value. This change is needed because the old code didn't deal with mixed flat and non-flat frames. * sparc-tdep.c (sparc_pop_frame): Write SP_REGNUM from frame->frame, don't go through saved regs for this. * sparc-tdep.c: Move guts of skip_prologue to new function examine_prologue. Check for flat prologue and set is_flat. Provide the caller with the information about what is saved where if desired. (skip_prologue, sparc_frame_find_saved_regs): Call examine_prologue. * sparc-tdep.c: Replace union sparc_insn_layout and anonymous union in isannulled, which won't work on a little-endian host, with X_* macros. * sparc-tdep.c (sparc_frame_saved_pc): If addr == 0, the saved PC is still in %o7. * config/sparc/tm-sparc.h: Define INIT_FRAME_PC and INIT_FRAME_PC_FIRST. * blockframe.c (get_prev_frame_info): Modify comments regarding INIT_FRAME_PC_FIRST and the sparc. * sparc-tdep.c (single_step): Use 4 not sizeof (long) for size of instruction.
1994-12-17 * c-typeprint.c (c_type_print_base): Use `show' of -1 to printPeter Schauer1-0/+23
the return type of methods to avoid infinite loops with anonymous types. * valops.c (search_struct_field): Handle anonymous unions. * sparc-tdep.c (sunos4_skip_trampoline_code): New function to correctly handle steps into -g compiled PIC objects in the main executable. * config/sparc/tm-sun4os4.h (SKIP_TRAMPOLINE_CODE): Redefine to use sunos4_skip_trampoline_code. * dwarfread.c (DWARF_REG_TO_REGNUM): Provide a default mapping from DWARF to GDB register numbering. * dwarfread.c (locval): Use DWARF_REG_TO_REGNUM to map the register value. * config/mips/tm-mipsv4.h (DWARF_REG_TO_REGNUM): Define.
1994-12-16 * defs.h: Include progress.h.Stan Shebs1-0/+7
(QUIT): Call PROGRESS. * main.c (main): Call START_PROGRESS and END_PROGRESS, break usage message into shorter strings. * source.c: Change long command help strings into concats of shorter ones, for picky ANSI compilers. (ChangeLog.mpw) * main.c, source.c: Remove hacks that replace long strings with shorter ones, now solved portably.
1994-12-16 * top.c (command_loop): For space usage display, show bothStan Shebs1-11/+16
absolute size and the change from before command execution.
1994-12-16 * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add stream argStu Grossman1-0/+17
to fputs_unfiltered_hook. Differentiate stdout from stderr when passing text into tcl land. * defs.h, top.c, utils.c (error): Add error_hook. * gdbtk.c: Improve mechanism for capturing output values. * (full_filename): Remove. * (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land with call_wrapper. This prevents longjmps (usually via error()) from jumping out of tcl/tk and leaving things in an indeterminate state. * gdbtk.tcl: New view option to disable line numbers. Put catch around most uses of gdb_cmd. Add update button to reg config window. Stop doing immediate updates when selecting registers. Change register view values into checkbuttons.
1994-12-13 * breakpoint.c, infrun.c, printcmd.c: Change long command helpStan Shebs1-0/+5
strings into concats of shorter ones, for picky ANSI compilers.
1994-12-13 Sparc flat register window support.Stan Shebs1-0/+14
* sparc-tdep.c (sparc_insn_layout): New union, defines layout of instructions symbolically (used to be local to skip_prologue). (sparc_init_extra_frame_info): New function. (sparc_frame_chain): Add flat cases throughout. (skip_prologue): Add recognition of flat prologues. (sparc_frame_find_saved_regs): Add flat cases. (sparc_pop_frame): Ditto. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): New slots. (INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info. (PRINT_EXTRA_FRAME_INFO): Define.
1994-12-13 * gdbtk.tcl (reg_config_menu create_registers_windowStu Grossman1-0/+8
recompute_reg_display_list): Use array instead of individual vars for register display list. * (recompute_reg_display_list update_registers): Fix bug with not displaying all registers.
1994-12-12 * f-lang.c: Remove duplicate declaration ofJim Kingdon1-0/+10
builtin_type_f_integer, and only include it in the f_builtin_types once. * somread.c (som_symfile_read): Just assign to objfile->obj_private, not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which the HP compiler doesn't like.
1994-12-12 * gdbtk.c: New tcl commands: gdb_fetch_registers,Stu Grossman1-0/+15
gdb_changed_register_list, and gdb_regnames. * gdbtk.tcl: Use monochrome color model for now. * (delete_breakpoint_tag create_file_win): Add breakdot support. * (create_file_win create_asm_win update_listing build_framework create_source_window create_command_window): Re-org window creation to give all windows consistent look and feel. * (update_listing update_asm): Change pc pointer to '->'. * (registers_command reg_config_menu create_registers_window populate_reg_window update_registers): Revamp register window. Allow selection of registers to be displayed. Highlight changed registers.
1994-12-09 * remote.c (remote_wait): Pass string instead of char to strcpy.Stan Shebs1-0/+4
1994-12-09* gdbserver/low-lynx.c (mywait): Remove debugging printf.Jim Kingdon1-0/+4
1994-12-08 * frame.h: Restore pre-Nov 3 comments about FRAME_FP with minorJim Kingdon1-0/+7
changes. They are correct, unlike the post-Nov 3 comment (FRAME_FP doesn't have any machine-independent relationship with FP_REGNUM or any other such notion of a "frame pointer").
1994-12-08 * gdbserver/remote-utils.c (write_ok): Write "OK", not "Ok", toJim Kingdon1-0/+26
match stubs and protocol spec. * gdbserver/remote-utils.c (remote_open): Cast to struct sockaddr when passing to function which expects that. The following changes aren't quite enough to make things work with LynxOS (apprently kernel problems). * infrun.c (wait_for_inferior): When resuming new thread, pass pid not -1 for remote case. * thread.c (info_threads_command): Give error if !target_has_stack. * infrun.c (start_remote): Call init_thread_list. * thread.c (info_threads_command): Don't call kill for remote debugging target. * target.c (normal_pid_to_str): Print "thread" not "process" for remote. * remote.c, gdbserver/*: Add 'H', 'S', and 'C' requests, 'X' response, and `thread' part of 'T' response. * gdbserver/*: If program exits, send packet to GDB before exiting. Handle termination with a signal the same as exiting with an exitstatus. * remote.c: Don't try to kill program after getting an 'X' response. * infrun.c (wait_for_inferior): Add comment about kill versus mourn.
1994-12-08 * config/pa/tm-pro.h tm-hppap.h, hppapro.mt: Rename tm-hppap.h toRob Savoye1-0/+5
tm-pro.h.
1994-12-08 * source.c: Various cosmetic changes.Stan Shebs1-0/+5
(forward_search_command): Handle very long source lines correctly.
1994-12-07 * hppa-tdep.c: Use GDB_TARGET_IS_PA_ELF so SOM target support willRob Savoye1-0/+8
stop being linked in. * config/pa/tm-hppap.h: New file. Set GDB_TARGET_IS_PA_ELF, otherwise it looks like BSD-ELF.
1994-12-06 * inftarg.c: include <sys/types.h> to get def of pid_t.Stu Grossman1-0/+4
1994-12-03 * solib.c (auto_solib_add_at_startup): New global.Stan Shebs1-0/+20
(solib_create_inferior_hook): Call solib_add only if auto_solib_add_at_startup is nonzero. (_initialize_solib): New command "set auto-solib-add".
1994-12-01 * somsolib.c (som_solib_get_got_by_pc): New function.Jeff Law1-0/+7
* somsolib.h (som_solib_get_got_by_pc): Add extern decl. * hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the function's export stub or real address in a shared library.
1994-11-29* config/i386/nbsd.mh (REGEX, REGEX1): No longer define.J.T. Conklin1-0/+7
* configure.in (i[345]86-*-freebsd*): New configuration. * config/i386/{fbsd.mh,fbsd.mt,nm-fbsd.h}: New files.
1994-11-29 * top.c (read_next_line): Pass annotation suffix "commands"Stan Shebs1-0/+5
instead of "command", matches documentation.
1994-11-29 * config/a29k/tm-a29k.h (setup_arbitrary_frame): ReplaceStan Shebs1-0/+3
FRAME_ADDR with CORE_ADDR in prototype.
1994-11-28 * top.c (command_line_input): If annotation suffix is NULL,Stan Shebs1-0/+7
replace it with an empty string. (read_next_line): Pass "command" as annotation suffix to command_line_input.
1994-11-28* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...J.T. Conklin1-0/+5
* config/rs6000/xm-rs6000.h: ...to here.
1994-11-28 * gdbtk.tcl (build_framework): Fix bug with setting window titles.Stu Grossman1-0/+2
1994-11-28 * gdbtk.tcl (build_framework): Add "Report bug" to help menu.Stu Grossman1-0/+2