aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
AgeCommit message (Collapse)AuthorFilesLines
1996-09-26 * dbug-rom.c: New file, support for Motorola's dBUG monitor.Stan Shebs1-0/+4
* config/m68k/monitor.mt (TDEPFILES): Add it. * NEWS: Mention it.
1996-05-26 Changes from: David Mosberger-Tang <davidm@azstarnet.com>Fred Fish1-0/+6
* NEWS: Add Alpha Linux as a new native configuration. * mdebugread.c (parse_symbol): When we find a malloc() symbol with return type VOID, assume no debugging info is available for that object file and patch the return value into VOID *. Otherwise, operations requiring an implicit call to malloc() will fail. * infrun.c (wait_for_inferior): The criterion to detect entering a sigtramp handler is now: (a) the current pc is inside a sigtramp handler, (b) the previous pc is not in a sigtramp handler, and (c) the current stack pointer is "inner" than the old one. Condition (c) is new to avoid mistaking a return from a signal handler into sigtramp as a new sigtramp invocation. * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An int may not be big enough to hold an address. (dcache_hit): Ditto. (dcache_peek_byte): Fix indentation. * configure.in (alpha-*-linux*): Add target. * configure: Rebuild * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (DYNAMIC_SIGTRAMP_OFFSET): Ditto. (SIGCONTEXT_ADDR): Ditto. (FRAME_PAST_SIGTRAMP_FRAME): Ditto. * config/alpha/alpha-linux.mh: New file. * config/alpha/alpha-linux.mt: Ditto. * config/alpha/nm-linux.h: Ditto. * config/alpha/tm-alphalinux.h: Ditto. * config/alpha/xm-alphalinux.h: Ditto. * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h. * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to xm-alphaosf.h. * config/alpha/alpha-osf2.mh: Ditto. * blockframe.c (find_pc_partial_function): Pass PC to SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems that detect sigtramp code via designated code sequences (as is the case for Linux/Alpha, for example). * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END to ignore new PC argument. * config/m68k/tm-hp300bsd.h: Ditto. * config/vax/tm-vax.h: Ditto. * alpha-tdep.c (alpha_linux_sigtramp_offset): New function. (alpha_osf_skip_sigtramp_frame): Ditto. (push_sigtramp_desc): Ditto. (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract sigcontext address from frame. (alpha_saved_pc_after_call): When in sigtramp, use alpha_frame_saved_pc() instead of read-register(). (after_prologue): When inside a dynamically generated sigtramp function, there is no prologue, so return address of first instruction. (alpha_in_prologue): Fix typo in comment. (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine whether we're inside a dynamicaly generated sigtramp function. If so, create and push and appropriate procedure descriptor. (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain the frame past a sigtramp frame (if the current frame is indeed a sigtramp function). (init_extra_frame_info): Don't read next frame register off of stack-pointer when inside a dynamiccaly generated sigtramp. (alpha_pop_frame): Also unlink and destroy procedure descriptors created for dynamically generated sigtramp functions. * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and <alpha/ptrace.h> instead of <machine/reg.h>
1996-04-23 * Makefile.in (VERSION): Bump version number to 4.16.1Fred Fish1-28/+83
* NEWS: Update for 4.16 release.
1996-02-21Minor tweak.Jeff Law1-1/+2
1996-02-16 * bcache.c, bcache.h: New files to implement a byte cache.Fred Fish1-0/+6
* Makefile.in (SFILES): Add bcache.c. (symtab_h): Add bcache.h. (HFILES_NO_SRCDIR): add bcache.h (COMMON_OBJS): Add bcache.o (bcache.o): New target. * dbxread.c (start_psymtab): Make global_syms & static_syms type "partial_symbol **". * hpread.c (hpread_start_symtab): Ditto. * os9kread.c (os9k_start_psymtab): Ditto. * stabsread.h (start_psymtab): Ditto. * {symfile.c, symfile.h} (start_psymtab_common): Ditto. * maint.c (maintenance_print_statistics): Call print_symbol_bcache_statistics. * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc and free pointers. * solib.c (allocate_rt_common_objfile): Ditto. * symfile.c (reread_symbols): Ditto. (free_objfile): Free psymbol bcache when objfile is freed. (objfile_relocate): Use new indirect psymbol pointers. * objfiles.h (struct objfile): Add psymbol cache. * symfile.c (compare_psymbols): Now passed pointers to pointers to psymbols. (reread_symbols): Free psymbol bcache when freeing other objfile resources. (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new psymbol using the psymbol bcache. (init_psymbol_list): Psymbol lists now contain pointers rather than the actual psymbols. * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically grown arrays of pointers. (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol bcache. * symmisc.c (print_partial_symbols): Now takes pointer to pointer to partial symbol. (print_symbol_bcache_statistics): New function to print per objfile bcache statistics. (print_partial_symbol, print_partial_symbols, maintenance_check_symtabs, extend_psymbol_list): Account for change to pointer to pointer to partial symbol. * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, make_symbol_completion_list): Account for change to pointer to pointer to partial symbol. * symtab.h (bcache.h): Include. * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms type "partial_symbol **".
1996-01-24 * NEWS: Make note of new record and replay feature forFred Fish1-0/+10
remote debug sessions. * serial.c (gdbcmd.h): Include. (serial_logfile, serial_logfp, serial_reading, serial_writing): Define here, for remote debug session logging. (serial_log_command, serial_logchar, serial_write, serial_readchar): New functions for remote debug session logging. (serial_open): Open remote debug session log file when needed. (serial_close): Close remote debug session log file when needed. (_initialize_serial): Add set/show commands for name of remote debug session log file. * serial.h (serial_readchar): Declare (SERIAL_READCHAR): Call serial_readchar(). (SERIAL_WRITE): Call serial_write(). (serial_close): Declare as extern. (serial_logfile, serial_logfp): Declare. * top.c (execute_command): Declare serial_logfp. Log user command in remote debug session log if log file is open. * remote-array.c (array_wait): #ifdef out echo to gdb_stdout. (array_read_inferior_memory): Rewrite to fix memory overwrite bug. * remote-array.c (SREC_SIZE): Remove, duplicates define in monitor.h. * remote-array.c (hexchars, hex2mem): Remove, unused. * gdbserver/low-linux.c (store_inferior_registers): Remove unnecessary extern declaration of registers[]. * gdbserver/Makefile.in (all): Add gdbreplay. * gdbserver/gdbreplay.c: New file. * gdbserver/README: Give example of recording a remote debug session with gdb and then replaying it with gdbreplay.
1996-01-23 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.Jeff Law1-0/+13
All references changed. * breakpoint.c (bpstat_what): Add shlib_event to the class types. Update state table. Reformat so that it's still readable. When we hit the shlib_event breakpoint, set the calss of shlib_event. (breakpoint_1): Add "shlib events" as a breakpoint type. Print the shlib_event breakpoint like other breakpoints. (create_solib_event_breakpoint): New function. (breakpoint_re_set_one): Handle solib_event breakpoints. * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS action. (create_solib_event_breakpoint): Declare. * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. (normal_stop): Inform the user when the inferior stoped due to a shared library event. (_initialize_infrun): Add new set/show variable "stop_on-solib-events" to control whether or not gdb continues the inferior or stops it when a shared library event occurs. * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. * somsolib.c (TODO list): Update. (som_solib_create_inferior_hook): Arrange for gdb to be notified when significant shared library events occur. * hppa-tdep.c (find_unwind_entry): No longer static. First cut at the machine independent changes for 7363. Also includes code to automatically track shl_load/shl_unload calls on hpux.
1996-01-23 * remote.c (remotebreak): New GDB variable.Stan Shebs1-0/+6
(remote_break): New global. (remote_interrupt): Send a break instead of ^C if remote_break. * NEWS: Describe the new variable.
1995-11-14Add preliminary ppcbug support.Michael Meissner1-0/+2
1995-10-26Cosmetic improvementsStan Shebs1-2/+2
1995-10-17Fix typoFred Fish1-1/+1
1995-10-11 * Makefile.in (VERSION): Version 4.15 released.Fred Fish1-9/+55
* README: Updated for version 4.15. * README.GDBTK: Updated for version 4.15 * NEWS: Updated for 4.15 release.
1995-10-09 * NEWS: Add information about win32 and arm code.Steve Chamberlain1-0/+8
* win32-nat.c: Renamed from win32.c * config/i386/win32.mh: Renamed from config/i386/i386win32.mh. * config/i386/win32.mt: Renamed from config/i386/i386win32.mt. * config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h. * config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h. * configure.in (i[345]86-*-win32): Updated to cope with filename changes. * configure: Regenerated.
1995-09-12 * NEWS: Add information about remote target caching.Fred Fish1-0/+11
1995-03-08 * Makefile.in (VERSION): Bump to 4.14.1.Stan Shebs1-12/+80
* NEWS, README: Update for 4.14. * i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration. (i386_insert_nonaligned_watchpoint): Call aligned instead of generic watchpoint insertion.
1995-01-12 * README: Add note about SPARCworks cc release 3.0 and higher.Peter Schauer1-0/+8
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.
1994-12-30 * Allow up to 10 whitespace separated arguments to user definedJeff Law1-0/+13
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-11-25 * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.Jeff Law1-0/+3
Various name changes to match those used by hp-symtab.h. No longer sanitize away hpread changes. Merge ChangeLog.hpread into ChangeLog and ChangeLog-93.
1994-11-20Update note for hpux9 dynamic executable support.Jeff Law1-4/+2
1994-11-08Small blurb on support for debugging dynamic executables on HPPAs runningJeff Law1-0/+6
hpux9.
1994-10-13* NEWS: Add item about if and while.Jim Kingdon1-0/+2
1994-08-14 * Makefile.in (VERSION): Bump to 4.13.1Fred Fish1-2/+71
* NEWS, README: Update to match gdb 4.13 release version.
1994-03-26 * command.c (do_setshow_command, case var_string): Never add aJim Kingdon1-0/+7
space to the end of the string. * NEWS: Document this change. * .gdbinit: Add a space to the "set prompt" command.
1994-02-04 * Makefile.in (VERSION): Bump to 4.12.1Fred Fish1-0/+13
* NEWS, README: Update to match 4.12 release.
1993-10-29 * NEWS: Note improvements in C++ support, preliminary threadFred Fish1-4/+28
implementation, and LynxOS native and target support for 386.
1993-10-28* NEWS: Add notes about Alpha and "set remotedebug" for UDI.Jim Kingdon1-3/+9
1993-08-24 * target.c, target.h: Add "set remotedebug" command.Jim Kingdon1-1/+6
* remote-bug.c, remote.c, remote-mips.c: Remove "set remotedebug" and "set m88ksnoop" options and use generic "set remotedebug" instead. * NEWS: Describe this change.
1993-07-30 * NEWS: Add note that DEC alpha support is host only, not native.Fred Fish1-0/+6
1993-07-15minor fixesJim Kingdon1-4/+4
1993-07-15* NEWS: Mention that remote.c now has a `load' operation.Jim Kingdon1-0/+5
1993-06-25 * main.c (filename_completer): Don't complete to files ending in ~.Jim Kingdon1-0/+6
* NEWS: Mention filename completion and "info line" enhancements. * main.c (symbol_completion_function): On "info t foo", return NULL, don't error(). * main.c (symbol_completion_function): Don't use readline word breaking. Use new calling convention for c->completer and complete_on_cmdlist. * command.h (struct command): Change arguments; now the text passed to completer does not have any word breaking done. New arg word. * symtab.{c,h} (make_symbol_completion_list): Do word breaking. Take word argument. * {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument. * command.{c,h} (complete_on_cmdlist): Take word argument. * command.c (lookup_cmd_1): Doc fix.
1993-06-16start tracking user visible changesK. Richard Pixley1-0/+10
1993-05-11 * README, NEWS: Update for gdb 4.9 release.Fred Fish1-53/+11
1993-05-07Add note about testsuite.Fred Fish1-1/+9
1993-05-06Mention support for IDT MIPS board.Ian Lance Taylor1-1/+1
1993-05-03Info on simulators.Steve Chamberlain1-3/+14
1993-03-03 * c-exp.y (parse_number): Change high_bit to unsigned.Fred Fish1-0/+6
* demangle.c: Change all references to cfront to ARM, since the actual algorithm is the one specified in the Annotated Reference Manual. This was confusing users into thinking that full cfront support was implemented. * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used. * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type directly to lookup_struct_elt_type, which will do the dereferencing itself. * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix NULL dereferencing bug for unnamed structs, comment out questionable code.
1993-02-20Add reminders for next release.John Gilmore1-0/+62
1993-02-19Fix up NEWS file for G++ bug.John Gilmore1-1/+14
1993-02-19Update for gdb-4.8John Gilmore1-108/+79
1993-02-19for a baselineStu Grossman1-0/+158
1992-10-23More news...John Gilmore1-100/+129
1992-10-23Update NEWS, remove refs to UDI and Energize/Cadillac from ChangeLog.Stu Grossman1-14/+115
1992-10-22First cut at news for 4.7. Just an outline, and an indicator of where weStu Grossman1-0/+18
stopped in ChangeLog.
1992-07-16* WHATS.NEW renamed to NEWS.Stu Grossman1-0/+596