aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon30-145/+393
Look at the ChangeLog for Apr 30 and May 1.
1991-05-02 * signame.c: Include defs.h and param.h.Jim Kingdon2-0/+46
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore6-136/+137
Get getopt and obstack from -liberty rather than compiling them here. * coffread.c: turn a printf into a complain(), and try to deal more gracefully with botched-looking lineno pointers. * dbxread.c: Use bfd_get_symcount rather than bfd_get_symcount_upper_bound. Don't coredump on files with zero symbols in them (a BFD bug showed this one). * environ.c: Pass GNUTARGET into the parent (gdb) as well as the child.
1991-04-30Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)Michael Tiemann6-10/+31
* valprint.c (type_print_base): If the type being printed is a struct containing undefined types, print "<undefine type>" as the type instead of crashing. * values.c (value_headof): Get the vtable pointer taking TYPE_VPTR_BASETYPE into account. * symtab.c, symtab.h, dbxread.c: Fix various whitespace splotches.
1991-04-30*** empty log message ***Jim Kingdon1-0/+11
1991-04-30 * sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 toJim Kingdon3-3/+5
GDB_TARGET_IS_SUN3.
1991-04-30 * Makefile.dist: Add comment about tm-sun3os4.h: tm-sun3.h, etc.Jim Kingdon2-0/+4
1991-04-30 * sun386-xdep.c [!GDB_TARGET_IS_SUN386]: Just provide emptyJim Kingdon1-0/+27
functions which don't do anything.
1991-04-30 * Move BROKEN_LARGE_ALLOCA from tm-sun386.h to xm-sun386.h.Jim Kingdon2-2/+3
1991-04-29 * infrun.c: Don't include sys/user.h and friends (wrong forJim Kingdon3-27/+14
cross-debugging and not necessary anymore (see IN_SIGTRAMP in xm-vax.h)). [SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>. xm-tahoe.h: Don't define _DIRENT_. * xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h includes sgtty.h before sys/ioctl.h).
1991-04-29 {x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files.Jim Kingdon1-0/+10
1991-04-29Initial revisionJim Kingdon4-0/+917
1991-04-29 * param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not definedJim Kingdon3-6/+8
or not defined. Don't define it based on TARGET_BYTE_ORDER if it's already defined (in the tm.h file). mips-opcode.h (BIT_FIELDS_*), values.c (modify_field, unpack_field_as_long): Use #if BITS_BIG_ENDIAN not #ifdef BITS_BIG_ENDIAN.
1991-04-26 * tm-sparc.h: Add comments about gcc version 2 and structure passing.Jim Kingdon2-1/+5
1991-04-26*** empty log message ***Jim Kingdon4-327/+468
1991-04-26 * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.Jim Kingdon1-1/+1
Return void not int. (also declarations in symfile.h and value.h).
1991-04-26 defs.h (TARGET_LONG_LONG_BIT): New macro.Jim Kingdon1-0/+6
1991-04-26 * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_longJim Kingdon1-2/+21
regardless of LONG_LONG. symtab.c, symtab.h (allocate_stub_method): New function.
1991-04-26 * values.c, value.h: New functions value_{headof,from_vtable_info}.Jim Kingdon1-2/+2
* value.h: Remove redundant declaration of value_static_field.
1991-04-26 * values.c (check_stub_method): Do lookup_method_type and stuffJim Kingdon1-50/+187
rather than smash_to_method_type. * values.c (check_stub_method): Deal with operator names. * values.c: Move declaration of cplus_demangle to top of file. * values.c (baseclass_addr): If can't read memory, set *ERRP rather than calling error(). * values.c (value_static_field): Recursively check all baseclasses. Return NULL if not found. * values.c, value.h: New functions value_{headof,from_vtable_info}. values.c (value_virtual_fn_field): Don't bother to do anything with return value from fill_in_vptr_fieldno.CVS: Modified Files:
1991-04-26 * valprint.c (val_print): Print out first element of vtblJim Kingdon1-36/+66
specially. * valprint.c: Move print controls to top and add objectprint. Add command "set print object on/off". * valprint.c (value_print, is_vtbl_member): Put things in local variables rather than continually doing VALUE_TYPE (val), etc.
1991-04-26 * valops.c (typecmp): If t2 == 0, return 1.Jim Kingdon1-23/+39
* valops.c (value_struct_elt_for_address): Call check_stub_method. * valops.c (value_struct_elt): Remove found, arg1_as_ptr. * valops.c (search_struct_method): Give error if j > 0 && args == 0. * valops.c (search_struct_field): New argument looking_for_baseclass. Give error if value_static_field or value_primitive_field return NULL. valops.c (various): Call search_struct_field with extra parameter.
1991-04-26 * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_longJim Kingdon1-19/+174
regardless of LONG_LONG. symtab.c, symtab.h (allocate_stub_method): New function. * symtab.c (decode_line_1): Deal with operators specified as "operator" <optional whitespace> <symbols for operator>. (operator_chars): Help do it. * symtab.c (lookup_struct_elt_type): Call check_stub_type. Take additional argument noerr. Don't dump core if TYPE_FIELD_NAME is NULL. Check the baseclasses recursively.
1991-04-26 * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.Jim Kingdon1-6/+16
Return void not int. (also declarations in symfile.h and value.h). Deal with multiple inheritance.
1991-04-26 * printcmd.c (x_command): Dereference references.Jim Kingdon1-1/+25
* printcmd.c (print_command_1): Add if (objectprint) code.
1991-04-26 * eval.c (evaluate_subexp, case UNOP_LOGNOT): If following opcodeJim Kingdon1-7/+20
is OP_SCOPE, give an error. * eval.c (evaluate_subexp): Pass third arg to lookup_struct_elt_type. * eval.c (evaluate_subexp), values.c (value_virtual_fn_field): Don't bother to do anything with return value from fill_in_vptr_fieldno. * eval.c (evaluate_subexp): If value_static_field returns NULL, give an error.
1991-04-26 dbxread.c (read_type): If we get "##", don't lookup_function_typeJim Kingdon1-24/+31
and start clobbering it; allocate_stub_method instead. * dbxread.c (read_struct_type): Put "op$" instead of "operator" in the symbol table. * dbxread.c (read_struct_type): Set fcontext to 0 for normal member function. * dbxread.c (read_struct_type): Initialize name to 0. * dbxread.c (read_ofile_symtab, N_CATCH): Add offset to bufp->n_value. * dbxread.c (dbx_create_type): Zero TYPE_VPTR_BASETYPE. (read_struct_type): Don't bother to set TYPE_VTPR_{BASETYPE,FIELDNO} if it's just going to be {0,1}. * dbxread.c (virtual_context): Use TYPE_BASECLASS starting at 0 (yes, it's #if 0, but just in case...).
1991-04-26 * cplus-dem.c (optable): Add "nw", "dl", "compound".Jim Kingdon1-4/+37
(cplus_mangle_opname): New function. (do_type): Add case 'Q'. * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some things "const".
1991-04-26 * expread.y (abs_decl): Accept '&' and '&' abs_decl.Jim Kingdon1-2/+32
expread.y (typebase): Add {unsigned,} long long {,int}. * expread.y (variable): Allow for destructor with foo::~name. * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some things "const".
1991-04-26 * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare someJim Kingdon2-2/+3
things "const".
1991-04-26 gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.Jim Kingdon1-0/+5
* gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.
1991-04-26 * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096.Jim Kingdon4-0/+8
gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.
1991-04-24This is the last one I gave to Telebit, minus all the print_msg's.Jim Kingdon1-0/+2
1991-04-24 * WHATS.NEW: Remove mention of readline and more paging (in 3.5).Jim Kingdon2-22/+15
Try to keep command names up to date with renaming.
1991-04-24 * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.Jim Kingdon2-0/+39
1991-04-24 * infun.c (resume, resume_cleanups): New functions.Jim Kingdon1-6/+35
(wait_for_inferior, proceed, child_create_inferior): Use resume not target_resume.
1991-04-24 * remote.c (getpkt): Don't set immediate_quit.Jim Kingdon2-0/+16
1991-04-24 * blockframe.c, frame.h (reinit_frame_cache): New function.Jim Kingdon4-0/+30
solib.c (solib_add), symfile.c ({,add_}symbol_file_command): Use it.
1991-04-24 * symtab.c (lookup_symbol): Add 3 more of those loops throughJim Kingdon2-0/+142
the symtabs which we all know and love: (1) Look in the STATIC_BLOCK for mangled symbols right after we check the blocks, (2, 3) Look in the STATIC_BLOCK for all the symtabs and psymtabs at the end.
1991-04-24 values.c (value_virtual_fn_field): If there is no fcontext,Jim Kingdon2-4/+17
then do things the way GDB 3.x did. valops.c (search_struct_method): Add type to value_virtual_fn_field arguments.
1991-04-24 * main.c (cd_command): Call dont_repeat.Jim Kingdon3-8/+38
* dbxread.c (read_struct_type): If const/volatile character is missing, don't complain, just continue. * dbxread.c (read_struct_type): Only try to read the fcontext if it is there. Also change "error_type " to "return error_type ". values.c (value_virtual_fn_field): If there is no fcontext, then do things the way GDB 3.x did. valops.c (search_struct_method): Add type to value_virtual_fn_field arguments. * dbxread.c (read_struct_type): Fix typo: *pp != '\0' -> **pp != '\0'.
1991-04-23 * printcmd.c (print_scalar_formatted): Add 't' for binary.Jim Kingdon1-0/+45
1991-04-23Use unpush_target not pop_target in core_open.Jim Kingdon2-2/+4
1991-04-23*** empty log message ***Jim Kingdon5-5/+42
1991-04-23Restore Schauer's version of ADD_SOLIB in core_open().Jim Kingdon1-3/+1
1991-04-23 * Shared libaray/corefile changes from Peter Schauer:Jim Kingdon4-5/+127
core.c (core_close): Call CLEAR_SOLIB. (core_open): Remove comment about "should deal with shared lib". (core_xfer_memory): If we can't xfer the usual way, try the shared libraries. solib.c (so_list): New fields so_bfd and so_sections{,_end}. (find_solib): Use solib_map_sections to get ld_text. (solib_map_sections, solib_xfer_memory): New functions. (clear_solib): Free so_sections and close so_bfd. tm-sunos.h: Add solib_xfer_memory, solib_add.
1991-04-22 * sparc-tdep.c (skip_prologue): Don't skip anything unless thereJim Kingdon2-8/+19
is a "save" instruction in there somewhere.
1991-04-22Initial revisionJim Kingdon1-0/+1
1991-04-22Fix the fix to the appearance of the ChangeLogJim Kingdon1-1/+2
1991-04-22Fix appearance of ChangeLog.Jim Kingdon1-12/+6