📄 changelog-9091
字号:
Fri Nov 8 23:38:48 1991 John Gilmore (gnu at cygnus.com) * command.c: Include param.h. * defs.h (warning_setup, warning): Declare. * expprint.c (print_subexp, UNOP_MEMVAL case): Lint. * inflow.c (new_tty): Use USE_O_NOCTTY #define. * language.c, printcmd.c (print_scalar_formatted), signame.c, stack.c: lint.Thu Nov 7 18:26:15 1991 Steve Chamberlain (sac at rtl.cygnus.com) * Makefile.in: link with libiberty after libreadline, since readline might want something in libiberty. * m88k-xdep.c: Fixed the register offsets in the ptrace_user struct for BCS 88k machines. * xm-m88k.h: don't define USIZE if already defined. * configure.in: Added delta88 target.Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com) * am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac. * tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and READ_MIPS_FORMAT, which have been unused since BFD. Still remaining is COFF_NO_LONG_FILE_NAMES. * tm-sun3.h, tm-altos.h: Remove detritus accidentally left from function calling code moved to m68k-tdep.c.Wed Nov 6 17:21:59 1991 John Gilmore (gnu at cygnus.com) * coffread.c: Eliminate c_nsyms in favor of c_naux. Complain if no auxents on .bf and .ef FCN symbols, and assume lots of line numbers. (init_linenos, enter_linenos): Use a sentinel at the end of the read-in linenos, to make for a fast, safe loop-end test.Wed Nov 6 02:54:08 1991 Steve Chamberlain (sac at cygnus.com) * coffread.c (read_coff_symtab): coffread used to rely on the x_sym.x_misc.x_lnsz.x_lnno field giving the # of linnos in a function. Two of the formats I'm using (29k and 88k) don't seem to set it. Ths patch to fcn_last_line and (enter_linenos) is an attempt to use the actual size of the linno table in the file to set the number of linenos to process.Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com) * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files are created in place, so the mv fails, then the make continues.Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com) Add C++ as a separate language. * defs.h (enum language): Add language_cplus. * dwarfread.c (end_symtab): Support language_cplus. * c-exp.y: Add new struct language_defn cplus_language_defn. Don't set c to be the default language (see main.c). * c-exp.y (yylex): Only look for field of this if language is C++. (First difference from C!) * language.c: Add case branches for C++ (currently, all the same as C). Also, add c++ to "usage" note for "set lang". * valprint.c (typedef_print). Add case branches for C++. * main.c (main): New way to set initial language: Look at file extension of psymtab containing main(). (Same as we do for symtabs, but avoid loading the symtab yet.) * symtab.c: New routine find_main_psymtab(), used by main() to set initial language. * symfile.c (allocate_symtab): Move code for mapping file extensions-> languages to new deduce_language_from_filename(). Fix a C++ problem when looking for methods in super-classes. There was confusion between base and derived types. * valops.c (value_fn_field): Change function interface. * values.c: Use new value_fn_field interface.Mon Nov 4 10:49:33 1991 Per Bothner (bothner at cygnus.com) * infrun.c: Fixed typo in comment. * utils.c: All the v*fprintf emulation is now in libiberty, so we can get rid of some junk. * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL type operands, as used by branch instructions. * gmalloc.c: Fix prototype of memcpy. * elfread.c: Comment out register_addr, since it conflicts with the one in coredep.c. * buildsym.h: Remove extern declarations of two functions that are really static in buildsym.c. * tm-mips.h: Add symbolic names for more registers. * mips-xdep.c (store_inferior_registers): Use new register names. * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now only used for core files, not ptrace. Therefore, the KERNEL_U_ADDR hack is no longer needed. The mapping to ptrace number is now in in mips-xdep.c. * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the mapping from the old REGISTER_U_ADDR), and use it in {fetch,store}_inferior_registers. * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): Save/restore FP regs correctly (?). * dbxread.c: Remove duplicate define_symbol and type_synonym_name (these had been previously moved to buildsym.c). Hence, define_symbol becomes extern instead of static. * buildsym.c (read_struct_type): Comment out bogus handling of C++ operator methods. Minor hacking of reading of class contexts. Make define_symbol non-static, so dbxread.c can call it.Fri Nov 1 11:05:47 1991 John Gilmore (gnu at cygnus.com) * mipsread.c (read_mips_symtab, read_the_mips_symtab): Use real filename with error messages. * stack.c (frame_select_command): Rename to select_frame_command to avoid "fr" and "fra" having nonunique completions. * symfile.c (sort_symtab_syms): Ignore sort of zero symtab *. (symfile_init): Print file format name when unable to handle it. (free_named_symtabs): Use BLOCKVECTOR rather than obsolete BLOCKLIST. * symmisc.c (free_symtab): Only free linetable if nonzero. * symtab.h: Remove obsolete BLOCKLIST macros.Thu Oct 31 18:12:43 1991 Stu Grossman (grossman at cygnus.com) * infrun.c (wait_for_inferior): another stepi/nexti fix. Ensure that stop_step is 1 at bottom of main loop. I don't know why this needs to be done, but it helps me sleep better at night.Sun Oct 27 18:18:39 1991 Stu Grossman (grossman at cygnus.com) * main.c (initialize_history): Read history after reading all init files.Sun Oct 27 14:09:25 1991 John Gilmore (gnu at cygnus.com) * buildsym.c: Break out initial malloc sizes. (record_line): Record directly in a subfile. Alloc on demand. (compare_line_numbers): Add from xcoffread.c. (end_symtab): New params say whether to sort pendings and linetable. Patch block stabs if defined. Shrink linetable before allocating the symtab. * buildsym.h: Delete line_vector* and prev_line_number. Add global_stabs and file_stabs for xcoffread. * dbxread.c (start_subfile): Move to buildsym. Change above calls. * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. * symmisc.c, symtab.c: Cope with null LINETABLEs. * blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO. * tm-29k.h, tm-88k.h, tm-i960.h, tm-irix3.h, tm-mips.h, tm-pyr.h, tm-sparc.h: Accept fromleaf parameter. * c-exp.y (yyerror): Pass error message if given. * configure.in: Add rs6000 host and target. * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. * symfile.h (entry_point): Add.Sat Oct 26 00:16:32 1991 John Gilmore (gnu at cygus.com) * buildsym.c: New file. Breaks out symbol-table-building routines from dbxread.c, so they can be shared with xcoffread.c. * buildsym.h: New file. Declarations for buildsym.c users. * dbxread.c: Remove large chunks into buildsym.c. * Makefile.in: Add buildsym.c and buildsym.h. * symfile.c (syms_from_bfd): New routine. (add_symbol_file): Call it to do the real work. (syms_from_bfd): Initialize entry_point before calling symfile_init. * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: Avoid declaring or setting entry_point (symfile.h & symfile.c cope).Fri Oct 25 10:58:16 1991 Mark Eichin (eichin at cygnus.com) * cplus-dem.c (cplus-demangle): added support for templates, static data, and the new (correct) mangling for destructors. * dwarfread.c: (dwarfwarn): created a varargs version of dwarfwarn, for non __STDC__ compilers. * c-exp.y: (yylex): added match for "template" token. (typebase): added TEMPLATE name '<' type '>' clause, for explicit specification of template types. * symtab.c: (lookup_template_type): new function for finding templates in symbol table. (type_name_no_tag): changed to explicitly check for s/u/e at the beginning of the symbol - if it is a template, none of these will be there (but the name will still contain spaces.)Fri Oct 25 18:59:32 1991 Per Bothner (bothner at cygnus.com) Various fixes to improve g++ debugging. * symtab.h: Add is_const and is_volatile flags for each method. These are bit fields - take their space from voffset, which shrinks to 30 bits. Since voffset is now a bitfield, make it unsigned for portability. This changes its interpretation slightly: Static methods now have voffset 1 instead of -1, and virtual offsets start at 2, not 1. * symtab.c: Renamed gdb_mangle_typename to gdb_mangle_name, since it now returns an entire magled method name, not just the type part. This avoids some duplication. It also allows us to correctly mangle const and volatile methods (using the new is_const and is_volatile bit fields mentioned above). * valprint.c (type_print_base), values.c (check_stub_method): Simplify by using new gdb_mangle_name. * values.c (value_headof): Fix to correctly handle single inheritance (actually two fixes, either of which suffices). * dbxread.c (read_struct_type): Handle const and volatile method specifiers. * dbxread.c (read_struct_type): Yet one more place where we must handle '\\' continuations. * valprint.c (vtbl_ptr_name): Add final '\0'.Fri Oct 25 16:06:38 1991 Stu Grossman (grossman at cygnus.com) * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of short return values for sparc and 68k. Patch from Paul Eggert. * coffread.c, coredep.c, i386-xdep.c: install patches for SysV/386 3.2 from Mauro DePalma.Fri Oct 25 02:02:13 1991 John Gilmore (gnu at cygnus.com) * core.c (core_file_info), exec.c (exec_file_info): Print file type. Use printf_filtered. * valops.c (value_fetch_lazy): Avoid 0-length fetches.Thu Oct 24 23:06:40 1991 Fred Fish (fnf at cygnus.com) * dwarfread.c: Add casts to remove compiler warnings. * tm-3b1.h, tm-68k.h, tm-altos.h, tm-amix.h, tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-pn.h, tm-sun2.h, tm-sun3.h: Remove locally duplicated code for calling functions in the inferior. The only differences were in the specific trap vectors used and whether or not an fpu was present. These are now handled by appropriate definitions of BPT_VECTOR and HAVE_68881 respectively. Other minor obvious cleanups. * valops.c: Correct a minor misspelling. * utils.c: Remove local BSD/USG hacks that are now in libiberty. * dwarfread.c: Remove prototype for dwarfwarn. Does not work with <varargs.h>.Thu Oct 24 09:33:44 1991 John Gilmore (gnu at cygnus.com) * stack.c (frame_command): Always print. Use new frame_select_command to select a frame without printing. * dwarfread.c: Use <varargs.h>, since <stdarg.h> is not portable.Thu Oct 24 01:32:51 1991 Fred Fish (fnf at cygnus.com) * dwarfread.c: New file for DWARF debugging format support. * elfread.c: New file for ELF object file format support. * procfs.c: New file for SVR4 /proc (process file system) support. * tm-amix.h, xm-amix.h, tconfig/amix, xconfig/amix: New files for Amiga UNIX support. * xm-svr4.h, tm-svr4.h: New files for SVR4 support. * xm-m68k.h: New file for host machines with m68k cpu. * Makefile.in: Add elfread.c and dwarfread.c to SFILES_MAINDIR. Add elfread.o and dwarfread.o to OBS. * symfile.h: Add "elf" to list of supported formats in comment. * c-exp.y, defs.h, symtab.h, valprint.c: Add three new builtin types to gdb, builtin_type_long_double, builtin_type_complex, and builtin_type_double_complex. Add and use new TARGET_SHORT_BIT, TARGET_INT_BIT, TARGET_LONG_BIT, TARGET_FLOAT_BIT, TARGET_DOUBLE_BIT, TARGET_LONG_DOUBLE_BIT, TARGET_COMPLEX_BIT, and TARGET_DOUBLE_COMPLEX_BIT, as the sizes in bits of the indicated types on the target machine (ala the existing TARGET_LONG_LONG_BIT). * infrun.c: When using SVR4 /proc interface instead of ptrace(), call proc_set_exec_trap() to setup child to stop at first instruction. * inftarg.c: When using SVR4 /proc interface, call proc_wait() rather than wait(). * m68k-tdep.c: Add new routines supply_gregset(), fill_gregset(), supply_fpregset(), and fill_fpregset(), which are machine dependent support routines for SVR4 /proc interface. * utils.c: Add warning_setup() and warning(). Warning() behaves the same as error() except that it returns normally rather than jumping back to command level. Modules that don't want to call warning() for some reason, but want to produce their own warnings, can call warning_setup() to ensure compatibility with the way warning() and error() deal with the terminal. * symtab.c: Make internal errors produce more useful messages. * tm-68k.h: Move code that is duplicated in almost every single m68k based machine's configuration files to this common file. Duplications in the configuration files still need to be removed (FIXME). * infrun.c (child_create_inferior): System V versions must call setpgrp() with no arguments, to comply with prototyping typically in <unistd.h>. * munch: Add support for SVR4 style nm output. * dbxread.c, mipsread.c symmisc.c, symtab.c: Remove the object file specific fields from the partial symbol table structure and replace them with a pointer to private data for each different flavor of object file reader to initialize appropriately.Wed Oct 23 09:38:20 1991 John Gilmore (gnu at cygnus.com) * xconfig/sun[34]os4: Add note about strstr botch on sunos4.0.3c and previous.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -