📄 changelog
字号:
* core.c (core_command): Make nicer error message for no core support. Lint around file_ptr's (bfd's off_t's) and bfd_seek. * dbxread.c (read_dbx_symtab): Use L_SET as bfd_seek arg. (elfstab_build_psymtabs): staboffset and stabstroffset args are file_ptr's. * dwarfread.c (struct dwfinfo): Convert dbfoff, lnfoff to file_ptr. (scan_compilation_units): Punt unused filename arg. dbfoff, lnoffset, and curlnoffset are file_ptr's now. (dwarf_build_psymtabs): Drop desc and filename args; use objfile. dbfoff and lnoffset are file_ptr's now. (read_ofile_symtab): foffset is now file_ptr. Use L_SET in bfd_seek. * elfread.c (struct elfinfo): dboffset and lnoffset are file_ptr's. (elf_symfile_read): Skip desc and filename args to dwarf_build_psymtabs. Pass file_ptr's to elfstab_build_psymtabs. * gdb-stabs.h: Use file_ptr rather than off_t. * mipsread.c (fixup_symtab): f_ptr is a file_ptr. Re-enable compile-time debug check that someone turned off as "unused". (read_the_mips_symtab): st_filptr is a file_ptr. Fix bfd_seek call. * symfile.h: Update dwarf_build_psymtabs and elfstab_build_psymtabs prototypes. * xcoffread.c (init_stringtab, init_lineno, xcoff_symfile_read): Use file_ptr offsets. bfd_seeks use L_SET.Thu Oct 15 01:27:32 1992 Stu Grossman (grossman at cygnus.com) * mips-tdep.c, mipsread.c, tm-mips.h: Get rid of ".gdbinfo." symbol. #define MIPS_EFI_SYMBOL_NAME instead. Use different value so that demangler won't be invoked. This greatly speeds up stepping. * mips-tdep.c (mips_pop_frame): Rewrite handling of linked_proc_info so that it properly deallocates the appropriate item after it is done with it instead of before. * Don't pass bogus frame pointer to create_new_frame(). Just leave it as zero so that lower level code will figure out the correct value.Wed Oct 14 18:56:28 1992 K. Richard Pixley (rich@sendai.cygnus.com) Sony News native support. * Makefile.in (HFILES): added nm-news.h. * nm-news.h: new file. * config/news.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o to NATDEPFILES. (NAT_FILE, NATDEPFILES): new macros for native support. * config/news.mt (TDEPFILES): removed exec.o. * remote-vx.c: remove redundant include of sys/time.h. * 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.oThu 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.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-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) * tm-29k.h (DUMMY_FRAME_RSIZE): Pad out to doubleword.Mon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com) * 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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -