X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/91dc42c57902e9f0957fcf3b572141c63bb9fa4f..f4c01c95482e6d86f06dfd5c7c0a761f9fd47714:/gdb/ChangeLog diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c6c5b9a490..6604be013a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,242 @@ +Sun Nov 6 12:54:54 1994 Jeff Law (law@snake.cs.utah.edu) + + * partial-stab.h (N_TEXT): Put back GDB_TARGET_IS_HPPA kludge, + it is still needed for GCC-2.6 compiled code. + * TODO (GDB_TARGET_IS_HPPA): Note this kludge can be nuked + sometime after GCC-2.7 has been released. + + * hppa-tdep.c (frame_saved_pc): Mask off low two bits when + retrieving the PC from a signal handler caller. Fix thinko + in Stan's last change ("frame", should have been "frame->next"). + If the next frame is a signal handler caller and it's a system + call which has entered the kernel ((PSW & 0x2) != 0), then the + saved pc is in %r2 instead of %r31. + +Fri Nov 4 23:47:07 1994 Jeff Law (law@snake.cs.utah.edu) + + * hppa-tdep.c (hppa_frame_find_saved_regs): Change "frame" to + "frame_info" throughout. + +Fri Nov 4 16:26:59 1994 Kung Hsu (kung@mexican.cygnus.com) + + * sparcl-stub.c: get rid of defs.h. + +Fri Nov 4 13:11:54 1994 Jim Kingdon + + * gdbserver/Makefile.in (MMALLOC_CFLAGS): Add -I${MMALLOC_DIR}. + Correct definition of MMALLOC_DIR to reflect fact this is + gdb/gdbserver/Makefile.in, not gdb/Makefile.in. + + * gdbserver/server.c (main): After we kill the inferior in + response to a 'k' request, exit. + + * remote.c (remote_kill): Use catch_errors when calling putpkt. + (putpkt): Return int, not void, to match catch_errors calling + convention. + +Fri Nov 4 10:52:38 1994 Stan Shebs (shebs@andros.cygnus.com) + + * rs6000-tdep.c (pop_frame): Correct a variable name. + +Fri Nov 4 05:43:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * TODO: Re-write item about SIGINT handling to reflect the fact + that target_stop now exists. + +Thu Nov 3 15:19:17 1994 Stan Shebs (shebs@andros.cygnus.com) + + Replace useless FRAME, FRAME_ADDR types with struct frame_info * + and CORE_ADDR, respectively. + * frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove. + * blockframe.c (get_frame_info): Remove. + * a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c, + breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c, + h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c, + infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c, + mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c, + sh-tdep.c, sparc-tdep.c, stack.c, valops.c, z8k-tdep.c, + config/a29k/tm-a29k.h, config/alpha/tm-alpha.h, + config/gould/tm-pn.h, config/h8300/tm-h8300.h, + config/h8500/tm-h8500.h, config/mips/tm-mips.h, + config/ns32k/tm-merlin.h, config/ns32k/tm-umax.h, + config/pyr/tm-pyr.h, config/sparc/tm-sparc.h): Replace FRAME with + struct frame_info * everywhere, replace FRAME_ADDR with CORE_ADDR, + rename variables consistently (using `frame' or `fi'), remove + calls to get_frame_info and FRAME_INFO_ID, remove comments about + FRAME and FRAME_ADDR cruftiness. + +Thu Nov 3 14:25:24 1994 Stu Grossman (grossman@cygnus.com) + + * corelow.c, exec.c, inftarg.c, m3-nat.c, op50-rom.c, procfs.c, + remote-adapt.c, remote-e7000.c, remote-eb.c, remote-es.c, + remote-hms.c, remote-mips.c, remote-mm.c, remote-mon.c, + remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c, + remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c, + w89k-rom.c, target.c, target.h: Add support for target_stop(). + * gdbtk.c (gdb_stop): Switch to target_stop(). + +Thu Nov 3 01:23:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * osfsolib.c (solib_map_sections, first_link_map_member, + next_link_map_member, xfer_link_map_member): Retrieve and use + shared library relocation offset from runtime loader structures. + Use libxproc.a routines to get a working version if + USE_LDR_ROUTINES is defined. + * README: Remove item about shared library relocation for + Alpha OSF/1. + +Wed Nov 2 15:05:39 1994 Kung Hsu (kung@mexican.cygnus.com) + + * c-exp.y (yylex): scan template names, and scan nested class + names. + +Wed Nov 2 11:01:55 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * nlm/Makefile.in: install gdbserve.nlm. + +Tue Nov 1 16:41:12 1994 Stu Grossman (grossman@cygnus.com) + + * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are + available. + * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of + -ltcl and -ltk. + * gdbtk.c: Get rid of lots of unnecessary #includes. + * (gdbtk_init): Use ConnectionNumber macro instead of referencing + Display structure directly. + * gdbtk.tcl: Change exit button to quit button. + +Tue Nov 1 13:00:46 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * c-valprint.c (c_value_print): Check for plain literal `char' + target type when suppressing `(char *)' output for strings. + +Mon Oct 31 19:19:51 1994 Stan Shebs (shebs@andros.cygnus.com) + + * coffread.c (coff_symfile_init): Remove unused local abfd. + * utils.c [NO_MMALLOC] (mmalloc, mrealloc): Define and use size_t + instead of long, for compatibility with mmalloc.h. + +Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * top.c (line_completion_function): Renamed from + symbol_completion_function, takes the line buffer and the + point in the line buffer as additional arguments. + (readline_line_completion_function): New function, interface + between readline and line_completion_function. + (init_main): Use it. + (complete_command): Use line_completion_function instead of + abusing rl_line_buffer. Free completion strings after printing + them. + * symtab.c (completion_list_add_name): Recheck for duplicates + if we intend to add a modified symbol. + + * gdbtypes.h (cplus_struct_type): nfn_fields_total no longer + includes the number of methods from the baseclasses. + * stabsread.c (attach_fn_fields_to_type): No longer add the + number of methods from the baseclasses to TYPE_NFN_FIELDS_TOTAL, + the baseclass type might not have been completely filled in yet. + * symtab.c (total_number_of_methods): New function to compute + the total number of methods for a type, including the methods + from baseclasses. + (decode_line_1): Use it instead of TYPE_NFN_FIELDS_TOTAL to + allocate the symbol array for find_methods. + + * stabsread.c (scan_file_globals): Add default case to minimal + symbol type switch, to avoid gcc -Wall warnings. + + * config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): + Don't test for zero backchain pointer to recognize a signal + handler frame, if read() gets interrupted by a signal, the + backchain will be non zero. + (SIG_FRAME_FP_OFFSET): Move to here from rs6000-tdep.c, + improve comment. + (SIG_FRAME_PC_OFFSET): New definition. + (FRAME_SAVED_PC): Return saved pc from sigcontext if this + is a signal handler frame. + * rs6000-tdep.c (function_frame_info): Do not error out + if we can't access the instructions. + + * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): + New definition to get the function address from a function pointer. + * valops.c (find_function_addr): Use it when calling a user + function through a function pointer. + +Fri Oct 28 16:16:52 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in (MMALLOC_DIR): New definition. + (MMALLOC): Use MMALLOC_DIR. + (MMALLOC_CFLAGS): Look in MMALLOC_DIR for mmalloc.h. + (OPCODES): Remove gratuitous "./". + * defs.h (mmalloc.h): Include. + (mmalloc, mrealloc, etc): Remove decls. + (cplus_demangle, cplus_demangle_opname): Remove decls. + +Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com) + + * defs.h, gdbtk.c, main.c, top.c: Change sense and name of + no_windows variable. Now called use_windows, and defaults to off + (for compatibility). + +Wed Oct 26 12:20:53 1994 Jim Kingdon + + * coffread.c (coff_symtab_read): If we get the address from + target_lookup_symbol, set the section to -2 not SECT_OFF_BSS. + (coff_symtab_read): Set value and section of symbol that + process_coff_symbol returns. + +Tue Oct 25 09:53:04 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * config/i386/tm-nbsd.h: Enable longjmp support. + +Sat Oct 22 03:41:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * valarith.c (value_binop): Take care of ANSI `value preserving' + rule, which was not addressed by the previous change. + + * rs6000-tdep.c (skip_prologue): Handle `mr r31,r1', which is + generated by gcc-2.6, as a synonym for `oril r31,r1,0'. + + * TODO: Remove item about RS/6000 shared libraries. + +Thu Oct 20 17:35:45 1994 Stu Grossman (grossman@cygnus.com) + + * defs.h, infrun.c (wait_for_inferior), top.c: Call + target_wait_hook to allow GUI to handle blocking for inferior. Call + call_command_hook in execute_command to provide means for wrapping + commands with GUI state change updates. + * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur. + * (gdb_stop): New tcl command to stop the target process. + * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target + waits. + * (gdbtk_call_command): Wrapper around command processing to + alert GUI of target state changes. + * (gdbtk_init): Get the fd of X server for doing async + notification of X events (via x_event). Setup new hooks. + * gdbtk.tcl: Add scrollbars to assembly and command windows. + * Change window foreground & background colors. + * Create margin tag for breakpoints in source and assembly windows. + * Add new routines to be invoked when target state changes to/from + idle. + * Add start of expression window. + * Change bindings of mouse button 1 in assembly and source window + to just set or clear breakpoints when in the margin tag. + * Change shape of register window to be more vertical to better + reflect it's contents. + * Add stop button. + * Cleanup some code around command window bindings. + + * infrun.c (wait_for_inferior): Make sure + through_sigtramp_breakpoint is non-null before deleting. + +Thu Oct 20 10:26:43 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * config/powerpc/ppc-nw.mt (TDEPFILES): Removed exec.o. + +Thu Oct 20 06:56:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * Makefile.in (coffread.o): Depend on target.h. + (remote-vx.o): Depend on gdb-stabs.h objfiles.h symfile.h $(bfd_h). + Wed Oct 19 22:49:31 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * TODO: Fix typo.