X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=e5dbad867ae24f4b1e39dbfea024c1aae39f8fac;hb=a6b98cb90a83c72ed80bd1bf8e268d28cfd035b0;hp=f849f44f9b0350a1fb05f1713199317c2a43dd61;hpb=b36e3a9b49aa9a2a24555e0a6a50f5cd3d5323b7;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f849f44f9b..e5dbad867a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,772 @@ +Wed Oct 14 18:56:28 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * infrun.c: include ctype.h. Otherwise some machines result in + undefined for isdigit. + +Tue Oct 13 01:27:14 1992 John Gilmore (gnu@cygnus.com) + + * configure.in: Convert m68k entries to m68* entries to handle + all the various m68xxx hosts and targets. + * config/news1000.mt: No longer needed, same as news.mt. + +Fri Oct 9 18:54:37 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * config/sun3os[34].mh (NATDEPFILES): remove duplicate inftarg.o. + +Fri Oct 9 14:20:08 1992 Stu Grossman (grossman at cygnus.com) + + * Makefile.in (HFILES): Add all nm-irix3.h, nm-irix4.h, + nm-sun2.h, nm-mips.h. + + * config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o. + + * Makefile.in (alldeps.mak): Add = sign after NATDEPFILES. + + * config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o. + +Fri Oct 9 08:41:11 1992 Ian Lance Taylor (ian@cygnus.com) + + * xm-hppah.h: if __STDC__ is not defined, define + HPPA_COMPILER_BUG. + symtab.c (decode_line_1): avoid a bug in the HP9000/700 native + compiler; see the comment in the file. + +Fri Oct 9 04:43:43 1992 John Gilmore (gnu@cygnus.com) + + First cut at support for all BSD variants on 386. + + * tm-i386bsd.h, xm-i386bsd.h: New config files. + * i386b-nat.c: New native support file. + * configure.in: Add host and target for i[34]86-*-bsd*. + * config/i386bsd.mh, config/i386bsd.mt: New config files. + +Fri Oct 9 00:31:33 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Sun2 native support (untested). + + * xm-sun2.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS, + REGISTER_U_ADDR): removed to nm-sun2.h. + * nm-sun2.h: new file. + * config/sun2os[34].mh (XDEPFILES): infptrace.o inftarg.o + fork-child.o sun3-xdep.o removed. + (NAT_FILE, NATDEPFILES): new macros. + + Mips native support. Decstation and iris4 have been tested. + Iris3 has not. + + * mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset, + fill_fpregset): removed to irix4-nat.c + * mips-xdep.c: removed. + * irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new + files. + * procfs.c: include nm.h. + * xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed. + * xm-irix4.h: bump copyright. + (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS, + PROC_NAME_FMT): removed. + * xm-mips.h (FETCH_INFERIOR_REGISTERS): removed. + * config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o. + (NAT_FILE, NATDEPFILES): new macros for native support. + (CC): supply default compiler switches. + * config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o. + (NAT_FILE, NATDEPFILES): new macros for native support. Note that + irix3 is untested. + * config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o + fork-child.o mips-xdep.o coredep.o. + (NAT_FILE, NATDEPFILES): new macros for native support. + +Thu Oct 8 23:50:51 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * config/rs6000.mh (XDEPFILES): removed fork-child.o. + (NATDEPFILES): added fork-child.o + * config/sun3os3.mh (XDEPFILES): removed fork-child.o. + (NATDEPFILES): added fork-child.o + * config/sun3os4.mh (XDEPFILES): removed fork-child.o. + (NATDEPFILES): added fork-child.o + +Thu Oct 8 23:19:25 1992 John Gilmore (gnu@cygnus.com) + + * infcmd.c (path_info): Avoid 250-char limit on printf_filtered, + by using puts_filtered instead. + +Fri Oct 9 00:28:25 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * remote-nindy.c (nindy_load): Replacement version from Steve + Chamberlain, doesn't require forking to run "strip" or "sx". + +Thu Oct 8 18:27:35 1992 Stu Grossman (grossman at cygnus.com) + + * Makefile.in (HFILES): Add nm-*.h files. + +Thu Oct 8 16:27:45 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * config/sun4os4.mh (XDEPFILES): fork-child.o removed. + (NATDEPFILES): added fork-child.o. + + * doc/gdbint.texinfo: document a few more macros, create new + section for native macros. + +Thu Oct 8 13:52:46 1992 Stu Grossman (grossman at cygnus.com) + + * Makefile.in alldeps.mak depend: Rip out 29k/udi pending + resolution of copyright issues. + +Wed Oct 7 20:08:53 1992 Stu Grossman (grossman at cygnus.com) + + * Makefile.in (setup-to-dist): Remove -norecursion so that doc + subdir gets configured. + +Wed Oct 7 12:24:01 1992 Ken Raeburn (raeburn@cygnus.com) + + * Makefile.in (nindy.o): Define "STRIP" as pathname of strip + program. + * nindy-share/nindy.c (coffstrip): Use that pathname, instead of + searching for a "bfd_strip" program. Also, fixed up arguments + passed to that program. + + * tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", + which is now used for something else. Rewrite description of + associated parameters to match how gdb does it now. + (ADDITIONAL_OPTION_HELP): Fix message accordingly. + + * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type. + +Tue Oct 6 14:47:11 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector as + to_notice_signals. + + * inferior.h (proc_signal_handling_change): prototype removed. + * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed. + (handle_command): now calls target_notice_signals. + * procfs.c (proc_signal_handling_change): renamed to + procfs_notice_signals. Now static. Add prototype. All callers + changed. + * target.h (struct target_ops): new field, to_notice_signals. + (target_notice_signals): new macro to cover new field. + * target.c (cleanup_target): default to_notice_signals to ignore. + * corelow.c (core_ops), + exec.c (exec_ops), + inftarg.c (child_ops), + procfs.c (procfs_ops), + remote-adapt.c (adapt-ops), + remote-eb.c (eb_ops), + remote-es1800.c (es1800_ops, es1800_child_ops), + remote-hms.c (hms_ops), + remote-mm.c (mm_ops), + remote-nindy.c (nindy_ops), + remote-st2000.c (st2000_ops), + remote-udi.c (udi_ops), + remote-vx.c (vx_ops, vx_run_ops), + remote.c (remote_ops), + target.c (dummy_target), + xcoffexec.c (exec_ops): added static initializer for + to_notice_signals. + * xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed. + +Tue Oct 6 12:13:08 1992 John Gilmore (gnu@cygnus.com) + + * main.c (define_command): Add forgotten initializer. + +Tue Oct 6 02:23:17 1992 John Gilmore (gnu@cygnus.com) + + * language.c, language.h: Move saved_language out to global + expected_language. Set expected_language when user expectation + changes. + * language.c (language_info): Don't print type/range checking gub. + * main.c (main): Set expected language. + (execute_command): Check against expected language. + * symfile.c (set_initial_language): Set expected language. + + * configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf. + +Fri Sep 4 00:34:30 1992 Per Bothner (bothner@rtl.cygnus.com) + + A bunch of changes mostly to improve debugging of C++ programs. + Specifically, the calling of inferiors methods is improved. + + * value.h: New macros METHOD_PTR_IS_VIRTUAL, + METHOD_PTR_FROM_VOFFSET, METHOD_PTR_TO_VOFFSET to partially + hide the implementation details of pointer-to-method objects. + How to tell if the pointer points to a virtual method is + still very dependent on the particular compiler, but this + should make it easier to find the places to change. + * eval.c (evaluate_subexp [case OP_FUNCALL]), valprint.c + (val_print [case TYPE_CODE_PTR]): Use the new METHOD_PTR_* + macros, instead of a hard-wired-in code that incorrectly + assumed a no-longerused representation of pointer-to-method + values. And otherwise fix the relevant bit-rotted code. + + * valprint.c (type_print_base [case TYPE_CODE_STRUCT]): + If there are both fields and methods, put a space between. + + * stabsread.c (read_struct_type): Fix bug in handling of + GNU C++ anonymous type (indicated by CPLUS_MARKER followed + by '_'). (It used to prematurely exit the loop reading in + the fields, so it would think it should start reading + methods while still in the fields. This could crash gdb + given a gcc that can emit nested type information.) + + * valops.c (search_struct_method): Pass 'this' value by + reference instead of by value. This provides a more + consistent interface through a recursive search where the + "bottom" functions may need to adjust offsets (due to multiple + inheritance). + * valops.c, value.h, values.c: Pass extra parameters to + value_fn_field and value_virtual_fn_field so we can + correctly adjust offset for multiple inheritance. + * eval.c (evaluate_subexp [case OP_FUNCALL]): Simplify + virtual function calls by using value_virtual_fn_field(). + * values.c: New function baseclass_offset, derived from + baseclass_addr (which perhaps can be made obsolete?). + It returns an offset rather than an address. This is a + cleaner interface since it doesn't mess around allocating + new values. + * valops.c (search_struct_method): Use baseclass_offset + rather than baseclass_addr. + +Mon Oct 5 16:02:04 1992 Stu Grossman (grossman at cygnus.com) + + * Makefile.in: Re-install 29K/UDI stuff. + * remote-udi.c (udi_resume): Clean up. + * (udi_wait): Rewrite, leave out bugs. + * Add debugging code to print out all register fetches and stores. + * Straighten out target_ops. + * tm-29k.h (DUMMY_FRAME_RSIZE): Pad out to doubleword. + +Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com) + + * remote-udi.c (udi_create_inferior): run with no arguments should + not pass the program name as an argument, since the UDI code + already handles that. + (udi_load): get the symbols from prog_name, not arg_string (the + load command should really use arg_string as the program name, not + prog_name, but at least the run command works now). + + * munch: HP9000/300 nm puts an extra space between T and symbol + name. + + * config/irix4.mh: added -lsun to XM_CLIBS to get RPC functions + needed for vxworks targets. + +Fri Oct 2 22:04:42 1992 John Gilmore (gnu@cygnus.com) + + * am29k-tdep.c (_initialize_29k): Make it possible for the + user to set and query the address where function calls into the + inferior write a small scratch routine. `set call_scratch_address' + * inferior.h (PC_IN_CALL_DUMMY): Fix fencepost error. + * remote.c (remote_prepare_to_store): Only fetch regs if they are + not already cached validly. + +Thu Oct 1 14:36:42 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Rs6000 native support. + + * infptrace.c: remove #ifdef USG from around include ptrace.h. + machines without this header should not be compiling this file. + * nm-rs6000.h, rs6000-nat.c: new files for native support. + * rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h. + * rs6000-xdep.c: removed. all code now in rs6000-nat.c. + * xm-rs6000.h: do not include ptrace.h. + (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h. + * config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o. + infptrace.o and inftarg.o move to NATDEPFIES. + (NAT_FILE, NATDEPFILES): new macro for native support. + + Sun3 native support. + + * config/sun3os3.mh, config/sun3os4.mh (NAT_FILE, NATDEPFILES): + new macros for native support. + (XDEPFILES): moved infptrace.o and inftarg.o to NATDEPFILES, + removed sun3-xdep.o. + * xm-sun3.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to + nm-sun3.h. + * sun3-xdep.c: removed. All code is now in sun3-nat.c. + * sun3-nat.c, nm-sun3.h: new files for native support. + +Thu Oct 1 10:30:54 1992 Fred Fish (fnf@cygnus.com) + + * dwarfread.c (dbsize): New variable to hold size of dwarf info. + * dwarfread.c (dwarf_build_psymtabs): Rename dbsize parameter to + dbfsize and use it to initialize new local file scope dbsize. + * dwarfread.c (read_ofile_symtab): Initialize dbsize and use it. + * dwarfread.c (basicdieinfo): Use dbsize to check for oversize + DIEs as well as the current check for undersize DIEs. This helps + to gracefully detect and reject corrupted DIE information. + +Thu Oct 1 01:57:56 1992 John Gilmore (gnu@cygnus.com) + + Add `command hooks' and a hook for inferior program stopping. + + * command.h (struct cmd_list_element): Remove unused `aux' + field. Add new `hook', `hookee', and `cmd_pointer' fields. + * command.c (add_cmd): Initialize new fields, elim old. + (add_alias_cmd): Clone new fields. + (delete_cmd): Un-hook hookee if we're deleting hook. + (help_cmd): Tell user the command is hooked, if it is. + (lookup_cmd_1): Abbreviations return the original command + instead of themselves, so that hooks on the original cmd will be + run. + * defs.h (enum command_class): Add class_pseudo and comments. + * gdbcmd.h (execute_user_command): Add prototype. + * infrun.c (normal_stop): If the stop command is hooked, + run the hook whenever we stop. + (hook_stop_stub): Stub for catch_errors. + (_initialize_infrun): Set up pseudo "stop" command. + * main.c (execute_user_command): Code extracted from execute_command. + (execute_command): If hooked, run the hook before the command. + (define_command): If defining a new hook, check the command it + is hooking, and warn if none. Install the hook. + * source.c (_initialize_source): "l" is an abbrev for "list". + * doc/gdb.texinfo: Document command hooks. + + * Makefile.in (VERSION): Roll to 4.6.7. + * config/sun4os4.mh: Remove dup inftarg.o from NATDEPFILES. + * infrun.c (breakpoints_inserted): Make it static again. + * tm-symmetry.h (FLOAT_INFO): #if 0 it for cross-ptrace abuse. + +Wed Sep 30 15:33:22 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Native file renaming. + + * nat-sparc.c -> sparc-nat.c + * nat-sun4os4.h -> nm-sun4os4.h + * nat-trash.h -> nm-trash.h + * config/sun4os4.mh: track file renaming. + * configure.in: link to nm.h rather than nat.h. + * infptrace.c: include nm.h rather than nat.h. + +Tue Sep 29 14:35:00 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Host/target/native split for sun4. + + * Makefile.in (TSOBS): removed corelow.o. + * infptrace.c: included nat.h. + * nat-trash.h: temporary header file. This should be removed once + all hosts have the native/host/target split. + * configure.in: add a symlink from nat-trash.h to nat.h if no + other nat file exists for this configuration. + * sparc-tdep.c: no longer include sys/ptrace.h. + * sparc-xdep.c: removed. contents have been moved to nat-sparc.c. + * xm-sparc.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to + nat-sun4os4.h. + * nat-sparc.c, nat-sun4os4.h: new files for sun4 native support. + * config/sun4os4.mh (XDEPFILES): moved infptrace.o and inftarg.o + to NATDEPFILES. removed sparc-xdep.o. + (NATDEPFILES, NAT_FILE): new macros for native support. + + Break the direct connection from core_file_command to any + particular type of core file support. + + * target.h (find_core_target): new prototype. + * target.c (find_core_target): new function. Walks the target + list looking for the core target. + * core.c (core_file_command): replace calls to core_detach and + core_open with find_core_target and direct calls. + +Tue Sep 29 10:19:00 1992 Ian Lance Taylor (ian@cygnus.com) + + * xm-hp300hpux.h: define MEM_FNS_DECLARED; include + for infptrace.c. + config/hp300hpux.mh: ALLOCA1 was not defined. + +Mon Sep 28 22:03:41 1992 Stu Grossman (grossman at cygnus.com) + + * breakpoint.c, exec.c, language.c, main.c, printcmd.c, symfile.c, + target.c, valprint.c: Use unfiltered forms of f/printf, et. al. + until we can figure out a better way to do paging. + +Sat Sep 26 02:07:31 1992 John Gilmore (gnu@cygnus.com) + + * findvar.c (supply_register): Add CLEAN_UP_REGISTER_VALUE hook. + * tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Use it. + * hppa-coredep.c: Remove, now that we use the hook. + * config/hppab.mh, config/hppah.mh: Use standard coredep.o. + * hppab-xdep.c, hppah-xdep.c: Remove custom code, use hook. + + * dbxread.c, partial-stab.h: Replace all #ifdef hp9000s800's with + GDB_TARGET_IS_HPPA's. This is a SERIOUS KLUDGE. The code needs to all + be ripped out and reimplemented right (see elfread.c). + * tm-hppa.h (GDB_TARGET_IS_HPPA): Define. + + Rename all HPPA files to fit into unique DOS filenames: + * *hppabsd* => *hppab* + * *hppahpux* => *hppah* + +Sat Sep 26 00:25:15 1992 John Gilmore (gnu@cygnus.com) + + Make the /proc support a target-struct in its own right. + + * Makefile.in: Remove inftarg.[co], since it is now included via + config/*.mh files. + * config/*.mh: Add inftarg.o and fork-child.o to all *.mh that + reference infptrace.o. Add fork-child.o to all *.mh that + reference procfs.o. + + * inferior.h (proc_wait, inferior_proc_init, proc_set_exec_trap): + No longer global functions. + (fork_inferior): New global function from fork-child.c. + * inftarg.c (child_wait): Remove USE_PROC_FS conditional. + (ptrace_me, ptrace_him): New stub functions for fork_inferior(). + (child_create_inferior): Moved to fork-child.c as fork_inferior. + (child_create_inferior): New tiny function that calls fork_inferior. + * fork-child.c: New file, containing fork_inferior, which is + built from slight mods to inftarg.c's child_create_inferior. + + * procfs.c (procfs_ops): Add target vector. + (attach): Rename as static do_attach. + (procfs_create_inferior): New tiny function that calls fork_inferior. + (child_xfer_memory): Rename to static procfs_xfer_memory. + (store_inferior_registers): Rename to static procfs_store_registers. + (inferior_proc_init): Rename to static procfs_init_inferior. + (procfs_attach, procfs_detach, procfs_prepare_to_store, + procfs_files_info, procfs_open, procfs_mourn_inferior, + procfs_can_run): Slightly mangled copies of the corresponding + child_XXX routines from inftarg.c. + (proc_wait): Renamed to static procfs_wait. + (child_resume): Rename to static procfs_resume. + (fetch_inferior_registers): Rename to static procfs_fetch_registers. + (initialize_proc_fs): Rename to initialize_procfs. Set up + procfs_ops, too. + + * putenv.c: index -> strchr. + * regex.c: Always rename bcopy to memcpy, etc. + FIXME: Eventually do the renames rather than use #define's. + * sparc-tdep.c (deferred_stores): Moved from sparc-xdep.c. + Fix bcopy->memcpy. + * sparc-xdep.c: Move deferred_stores to target dependent. + * xm-irix4.h, xm-sysv4.h (CREATE_INFERIOR_HOOK): No longer needed. + +Fri Sep 25 21:59:27 1992 John Gilmore (gnu@cygnus.com) + + Split non-target-dependent code out of target_attach routines. + + * target.h: Comments on target_attach args and results. + * infcmd.c (attach_command): Check for existing execution, call + target_attach, set up terminal status and wait_for_inferior, wait + for the attach status, and do normal_stop. + * inftarg.c (child_attach): Remove target independent stuff. + * remote-adapt.c (adapt_attach): Ditto. + * remote-mm.c (mm_attach): Ditto. + * remote-udi.c (udi_attach): Ditto. + * remote-vx.c (vx_attach): Ditto. + + Cleanup. + + * remote-hms.c (hms_attach): Remove completely, it was useless. + * remote-mm.c, remote-hms.c, remote-udi.c, remote-adapt.c: Remove + commented-out start_remote calls. + * remote-hms.c, remote-adapt.c, remote-mm.c, remote-udi.c: Remove + DENTER and DEXIT macros and their calls. Use a real debugger -- + like gdb -- to see what functions are being called when. + * utils.c (strcmp_iw): Make nonstatic, for lint. + +Fri Sep 25 18:48:20 1992 John Gilmore (gnu@cygnus.com) + + * infrun.c, inftarg.c, inferior.h: Comment and lint cleanups. + +Fri Sep 25 15:13:44 1992 Stu Grossman (grossman at cygnus.com) + + * tm-sparc.h, dbxread.c (read_ofile_symtab): Install Jim Wilson's + fix to differentiate between gcc1 & gcc2 compiled files so that we + can debug calls that pass structs as args correctly. + * symmisc.c (dump_symtab): If block was compiled with gcc, say + so, and what version. + + * remote.c (remote_wait): Make regs be char to avoid picayune + ANSI compiler warnings. + + * energize.h: Move all external struct decls to inside of + __STDC__, add prototype for energize_shell_wait(). + * energize.c (getpty): Clean up, make us really get a controlling + terminal. + * (energize_initialize): Disable SIGIO prior to setting up for + I/O interrupts. Move setsid(), et. al. to getpty(). + * (energize_shell_wait): New routine to wait for things started + via the shell command, uses wait() instead of /dev/proc. + * Also, add prototype for execute_command_1(). + +Fri Sep 25 12:09:33 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * inftarg.c (child_create_inferior, child_attach, + child_mourn_inferior): collect unix child process stratum + functions which live below the target vector into this file to + facilitate host/target/native split. Also, make them static. + * inflow.c (child_mourn_inferior): removed. + * infrun.c (child_create_inferior, child_attach): removed. + (resume): becomes global so that functions below the + target vector can find it. + * inferior.h (resume): add prototype. + (child_mourn_inferior, child_create_inferior, child_attach): + remove prototypes. + + * xcoffexec.c (exec_ops): child_attach and child_create_inferior + replaced with find_default_attach and + find_default_create_inferior. + +Fri Sep 25 10:21:04 1992 Ken Raeburn (raeburn@rtl.cygnus.com) + + * i960-pinsn.c: Use _filtered routines for printing, so symbolic + addresses don't get displayed in the wrong positions. + +Fri Sep 25 09:52:47 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Separate core functions along target vector in preparation for + native support. Functions above vector now live in core.c. Those + below in corelow.c. + + * core.c (solib_add_stub, core_close, core_open, core_detach, + get_core_registers, core_files_info, core_ops): moved to corelow.c + (_initialize_core): removed addition of core_ops target. + * corelow.c: new file. + (solib_add_stub, core_close, core_open, core_detach, + get_core_registers, core_files_info, core_ops): moved from core.c + (_initialize_corelow): new function. + * gdbcore.h (core_open, core_detach): added prototypes. + (core_ops): add forward declaration. + * Makefile.in (SFILES_MAINDIR): add core.c + (OBS): add core.o + (TSOBS): change core.o to corelow.o + +Wed Sep 23 11:14:53 1992 Stu Grossman (grossman at cygnus.com) + + * m68k-tdep.c (m68k_saved_pc_after_call): Use 'GDB_TARGET_IS_SUN3' + instead of 'sun' predefined symbol so that trap analysis code is + enabled only when the TARGET is a sun3. + +Tue Sep 22 17:13:19 1992 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * tm-i960.h (ext_format_i960): Add top-level declaration. + (REGISTER_CONVERT_TO_{VIRTUAL,RAW}): Don't declare it in nested + blocks, else Sun4 compiler complains. + +Tue Sep 22 00:43:51 1992 John Gilmore (gnu@cygnus.com) + + * mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break' + instruction's argument. Patch from jonathan@cs.stanford.edu + (Jonathan Stone). + +Mon Sep 21 18:16:30 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + Break the thread of control that implies that a unix child + process will be the default target. + + * target.c (find_default_run_target, find_default_attach, + find_default_create_inferior, return_zero): new functions. + (cleanup_target): Make return_zero the default for to_can_run. + + * exec.c (exec_ops), core.c (core_ops): Replace child_attach and + child_create_inferior references with find_default_XXX instead. + + * target.h (struct target_ops): new field, to_can_run. + (find_default_attach, find_default_create_inferior): new prototypes. + (target_can_run): new macro. + + * Also added a zero (default) to_can_run element to all static + struct target_ops initializations throughout GDB, except: + * inftarg.c (child_ops): Use new child_can_run() to enable child runs. + + * infrun.c (child_create_inferior): Clean up error handling when + no exec file is specified. + (child_attach): Don't require exec file. + +Mon Sep 21 19:43:13 1992 John Gilmore and K. Richard Pixley (gnu@cygnus.com) + + Remove kill_inferior_fast, in favor of target_kill, which goes + through the target vector. + + * inferior.h (kill_inferior_fast): remove declaration. + + * main.c (disconnect): call quit_cover using catch_errors rather + than calling kill_inferior_fast directly. New way goes through + the target vector, handles attached processes, and writes + command history if appropriate. + (quit_cover): new function, wrapper for quit_command. + + * convex-xdep.c, go32-xdep.c, hppabsd-xdep.c, hppahpux-xdep.c, + infptrace.c, procfs.c: Removed all instances of kill_inferior_fast, + inlining them into the local kill_inferior when needed. + +Mon Sep 21 19:23:05 1992 John Gilmore (gnu@cygnus.com) + + * infrun.c (_initialize_infrun): Alias `i handle' == `i signals'. + * stabsread.c (read_struct_type): Simplify complicated expression + for dumb DECstation compiler. + +Mon Sep 21 14:54:35 1992 Ian Lance Taylor (ian@cygnus.com) + + * m68k-pinsn (print_insn_arg, fetch_arg): added support for + operands to memory management instructions, from WRS. + +Sep 20 08:42:12 1992 Fred Fish (fnf@cygnus.com) + + * main.c (main): Back out previous language setting changes. + Replace with simple default to C before processing any init + files. There MUST be a language set, even in the absence of + init files or executables, or expression parsing fails. + +Sat Sep 19 09:52:26 1992 Fred Fish (fnf@cygnus.com) + + * main.c (main): Move code that sets initial language to + symfile.c. Fixup places where command files are processed to + be consistent in setting a default language if none has been + previously set. + * symfile.c (set_initial_language): Add code moved from + main() that sets an initial default language when a new + symbol file is read. + * symfile.c (symbol_file_command): Call set_initial_language. + * symtab.c (find_main_psymtab): Add FIXME comment. + +Wed Sep 16 22:31:55 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * breakpoint.c, sparc-tdep.c: comment changes. + * configure.in: removed target_dependent line. + + * remote-mm.c (mm_attach): change printf to error to prevent + fallthrough bug. + * remote-udi.c (udi_attach): change printf to error to prevent + fallthrough bug. + + * rs6000-tdep.c (push_dummy_frame, pop_dummy_frame): replace + calls to {fetch|store}_inferior_registers with calls to + target_{fetch|store}_registers, for remote-target independence. + +Sat Sep 19 04:23:54 1992 John Gilmore (gnu@cygnus.com) + + * Makefile.in: Fix bug I introduced in merging Rich's change. + * infrun.c (child_create_inferior): Use proceed() rather than + doing all the same stuff by hand. + +Thu Sep 17 17:35:37 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * Makefile.in, configure.in: add support for files used only when + configured native, that is, when host = target. + +Wed Sep 16 23:03:23 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * tm-sparc.h, xm-sparc.h: externs and macros relating to deferred + stores are target dependent and were moved from xm to tm. + +Sat Sep 19 03:14:37 1992 John Gilmore (gnu@cygnus.com) + + * Makefile.in (gdb-all.texi): Build in objdir, not $srcdir. + + * config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE + overrides, to avoid problem in xdr_bytes with malloc(0) => 0. + +Wed Sep 16 20:04:54 1992 K. Richard Pixley (rich@sendai.cygnus.com) + + * target.h (struct target_ops): removed to_convert_to_virtual and + to_convert_from_virtual elements. Initializations removed from + all static initializations. + (target_convert_to_virtual, target_convert_from_virtual): + removed. + (host_convert_to_virtual, host_convert_from_virtual): Removed + forward declarations. + * target.c (cleanup_target): removed default assignments for + to_convert_to_virtual and to_convert_from_virtual. + * inftarg.c (host_convert_to_virtual, host_convert_from_virtual): + removed. + * findvar.c (value_of_register, value_from_register): + target_convert_to_virtual inlined. + * infcmd.c (do_registers_info): target_convert_to_virtual inlined. + * valops.c (value_assign): target_convert_from_virtual inlined. + +Fri Sep 18 02:07:39 1992 John Gilmore (gnu@cygnus.com) + + * main.c (gdb_readline): Avoid printf_filtered, which sets char + position wrong if used for the prompt. + * utils.c (puts_filtered): Comment: NOT a puts() replacement! + + Support for accessing arbitrary MIPS stack frames in memory. + + * blockframe.c (get_prev_frame_info): If INIT_FRAME_PC_FIRST is + set, run it before INIT_EXTRA_FRAME_INFO. + * stack.c (frame_info): If PRINT_EXTRA_FRAME_INFO defined, call it. + + * mips-tdep.c (init_extra_frame_info): Only clobber the `frame' + (FP) value in the frame_info struct if it is zero (as from top of + execution stack). + (setup_arbitrary_frame): Implement FRAME_SPECIFICATION_DYADIC. + + * mips-xdep.c (fetch_inferior_registers): ZERO_REGNUM always + comes back as zero. So does FP_REGNUM, as a trigger for + init_extra_frame_info. + + * tm-mips.h (INIT_FRAME_PC_FIRST): Kludge, FIXME, defined to get + the program counter set before INIT_EXTRA_FRAME_INFO is run. + (INIT_FRAME_PC): Defined to null. + (PRINT_EXTRA_FRAME_INFO): print frame pointer location via symtab. + (FRAME_SPECIFICATION_DYADIC): Ask for two args in frame command. + Briefly explain MIPS stacks in GDB. + +Thu Sep 17 03:49:59 1992 John Gilmore (gnu@cygnus.com) + + * copying.awk, copying.c (show_copying_command, + show_warranty_command): Rename from copying_info, warranty_info, + to match command function conventions. + + * utils.c (prompt_for_continue): Reinitialize more-counts + before printing anything, and again afterward. Fix comments. + (vfprintf_filtered): Eliminate static buffer; use auto buffer, + or alloca() if needed. + + * rs6000-xdep.c: Use correct conditional (IBM6000_TARGET) to + detect native versus cross-host. + +Wed Sep 16 21:57:14 1992 Stu Grossman (grossman at cygnus.com) + + * m68k-tdep.c (sun3_saved_pc_after_call): Only do trap check for + Suns. Rename to m68k_saved_pc_after_call. + * tm-68k-noun.h, tm-sun3.h (SAVED_PC_AFTER_CALL): Use + m68k_saved... instead of sun3_saved... + +Wed Sep 16 17:00:07 1992 John Gilmore (gnu@cygnus.com) + + * Makefile.in (update-depend, update-alldeps): Split out of + setup-to-dist, for convenience in rebuilding the depend and + alldeps.mak files. + (assorted): Update to catch straggler files when building gdb.tar.Z. + +Tue Sep 15 01:18:50 1992 John Gilmore (gnu@cygnus.com) + + Preliminary cleanup for splitting host/native/target. + + * infptrace.c (child_resume): Don't deal with NO_SINGLE_STEP + here; it is dealt with at a gdb-target-independent level. + * rs6000-tdep.c (single_step): Don't call ptrace, we are a + high toned routine. Fix return type to void. + * tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it. + Rich and I believe the "real problem" was that both single_step + and target_resume were issuing PT_CONTINUE calls. This would + cause the second PT_CONTINUE to sometimes fail because the process + was already running. + * infptrace.c (child_resume): Remove AIX_BUGGY_PTRACE_CALL kludge. + Mon Sep 14 19:20:43 1992 Stu Grossman (grossman at cygnus.com) + * energize.c (pty_to_kernel): Must check for EAGAIN as + termination condition. + (full_filename): Don't prepend dirname if filename begins with /. + (breakpoint_notify, kernel_dispatch): Deal with DynamicLoad + messages properly!! + (getpty (NCR)): Lotsa bug fixes... + (kernel_dispatch (case StopRType)): Use kill() instead of + killpg() so we can deal with losing systems... + (wait_for_events): Work around NCR select() lossage. It doesn't + zero out readfds when select() returns zero. + (energize_initialize): Use I_SETSIG to get SIGIO interrupts. Use + getcwd() instead of getwd() (NCR getwd() seg faults). + (energize_wait): Use sigaction() for NCR. Their version of signal() + is unreliable by default. + + * procfs.c (proc_wait): Call print_sys_errmsg() if we get an + error from PIOCSWSTOP. + + * breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c, + symfile.c, target.c, valprint.c: Use _filtered form of *printf. + defs.h, utils.c: Make vfprintf_filtered global. + * energize.c (send_location): New routine to consolidate all places where we must notify kernel of where the given pc is. (cplus_demangle): Put single-quotes around demangled names. @@ -514,7 +1281,7 @@ Sat Aug 8 23:12:22 1992 Fred Fish (fnf@cygnus.com) Fri Aug 7 11:18:23 1992 Steve Chamberlain (sac@thepub.cygnus.com) * xm-go32.h: Define LSEEK_NOT_LINEAR - * serial.c (find_source_lines): if LSEEK_NOT_LINEAR is defined + * source.c (find_source_lines): if LSEEK_NOT_LINEAR is defined then work out the lseek positions of newlines by running through the file and `tell'ing. This makes source file listing work on OS's where the relationship between physical position in file and @@ -1915,7 +2682,7 @@ Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com) rewrite, only leave out the bugs. * Makefile.in: Add 29k/UDI support. Improve depend. - * .Sanitize, alldeps.mak, configure.in, depend: Add 29k/UDI support. + * alldeps.mak, configure.in, depend: Add 29k/UDI support. * am29k-tdep.c: Update to use new calling conventions, and misc symbol elements. @@ -2951,10 +3718,10 @@ Thu Mar 5 23:56:01 1992 John Gilmore (gnu at cygnus.com) Thu Mar 5 12:32:09 1992 Stu Grossman (grossman at cygnus.com) - * config.sub configure.in config/.Sanitize config/mh-irix4 - gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c + * config.sub configure.in config/mh-irix4 + gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h - gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3 + gdb/xm-irix4.h gdb/config/mt-irix3 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x. Wed Mar 4 11:56:42 1992 Fred Fish (fnf@cygnus.com)