aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1994-12-18 * tm-sparc.c (EXTRA_FRAME_INFO): New field sp_offset.Jim Kingdon3-192/+427
* 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-18* TODO: Add item regarding large frames.Jim Kingdon2-0/+10
1994-12-18 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.Jim Kingdon2-7/+26
* TODO: Remove item about enabling return.exp; it is enabled. Suggest a few more "return" tests.
1994-12-17 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases forPeter Schauer1-1/+6
anonymous unions.
1994-12-17 * c-typeprint.c (c_type_print_base): Use `show' of -1 to printPeter Schauer6-92/+301
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 Shebs2-0/+12
(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 Shebs2-13/+31
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 Grossman6-236/+375
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-14 * config/m68k/xm-mpw.h (spin.h): Include.Stan Shebs4-1/+31
(ALMOST_STDC): Only define if MPW_C. * config/m68k/tm-mac.h: New file, Mac target definitions.
1994-12-14Actually lose itStan Shebs1-47/+0
1994-12-14 * mpw-config.in (m68k-apple-macos, ppc-apple-macos,Stan Shebs4-52/+80
i386-unknown-aout): New targets. (mk.tmp): Add *DEPFILES definitions. * mpw-make.in: Remove gC rules, clean up definitions for other include files, bump version, fix bogus \ that should be \Option-d. (init.c): Build correctly. (mpw-init.c): Remove.
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 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.oJim Kingdon2-2/+8
and pr-5646.o, so "make" is the same as "make all, not "make pr-4975.o".
1994-12-13 Sparc flat register window support.Stan Shebs2-11/+45
* 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 Grossman2-12/+27
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 Kingdon3-4/+13
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.