Commit graph

  • dcf22de996 Fixed problem where pc relative stuff was not being translated properly. Oasys keeps no -ve pc in the disp of a branch, so we fake it. Steve Chamberlain 1991-05-07 19:13:58 +00:00
  • bc488d8923 *** empty log message *** Steve Chamberlain 1991-05-05 22:13:56 +00:00
  • 5594d534a2 Saber C (lint) cleanups, and a few bug fixes. See ChangeLog. John Gilmore 1991-05-04 23:15:02 +00:00
  • b1847ba9e7 Saber C cleanup. Fix horrid bug in opncls.c in which an obstack is initialized on the stack and then copied into its own allocated space. (Wow, Steve, you're twisted...) John Gilmore 1991-05-04 22:52:03 +00:00
  • f929c7d43b Saber C fixups. John Gilmore 1991-05-04 22:45:02 +00:00
  • 6281dfd59d Roll version to 3.95. John Gilmore 1991-05-04 18:10:57 +00:00
  • 1417a2cd1c Fix =&'s in copy.c John Gilmore 1991-05-04 05:22:47 +00:00
  • 77ac93922c See ChangeLog. John Gilmore 1991-05-04 05:07:07 +00:00
  • 7c884bf003 Jim Kingdon's gdb port to the m88k. John Gilmore 1991-05-04 04:42:18 +00:00
  • 591cd7a6f4 Jim Kingdon's port to m88k on his last day at Cygnus. John Gilmore 1991-05-04 04:41:34 +00:00
  • 74dcea7b24 Jim Kingdon's port of gdb to m88k on his last day. John Gilmore 1991-05-04 04:40:57 +00:00
  • e9dcae1a71 John's suggestions. K. Richard Pixley 1991-05-04 00:57:57 +00:00
  • d082a54f59 *** empty log message *** Steve Chamberlain 1991-05-04 00:40:37 +00:00
  • b63165349f *** empty log message *** Steve Chamberlain 1991-05-03 23:52:48 +00:00
  • 592ecfb22e Rename getopt to libiberty. John Gilmore 1991-05-03 21:30:41 +00:00
  • 1722479547 *** empty log message *** Roland Pesch 1991-05-03 20:19:18 +00:00
  • 86bbb439c8 There should be a Makefile in the cvs main directory, configured for "./config.gdb none", so that things like "make tags" and "make tar" will work. John Gilmore 1991-05-03 19:57:13 +00:00
  • 9c2f3ceeb4 Avoid making a machine-dependent (probably wrong) declaration of malloc and free. Depend on the sysdep.h file to do that for us. John Gilmore 1991-05-03 19:25:38 +00:00
  • 09a98ceece Be sure malloc and free are declared; bfd/opncls uses them. John Gilmore 1991-05-03 19:24:18 +00:00
  • 67ca110ded Changed getopt to libiberty, commented out an aborted attempt at host level Makefiles because it caused errors on +rm, add a warning for directories expected to be removed on +rm but that don't exist. K. Richard Pixley 1991-05-03 19:14:21 +00:00
  • 8e7457b2aa *** empty log message *** Jim Kingdon 1991-05-03 06:06:53 +00:00
  • 7b54d319af * mtrace.c: Don't typedef things like size_t, just #define them. Jim Kingdon 1991-05-03 06:04:13 +00:00
  • 2cb3be2c94 * cplus-dem.c [__STDC__]: Make x{m,re}alloc return void*. Jim Kingdon 1991-05-03 06:03:54 +00:00
  • 63a463b149 * signame.c: Cast const char* to char* when assigning to sys_siglist. Jim Kingdon 1991-05-03 06:02:52 +00:00
  • 8aa13b8777 Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog. Jim Kingdon 1991-05-03 06:02:03 +00:00
  • 6f48f7f198 (osys_read_record): If record->header.lenth <= sizeof (record->header), then return rather than passing a negative (or zero) nelts to bfd_read. Jim Kingdon 1991-05-03 05:56:58 +00:00
  • ede87e2901 Make arg to zalloc a bfd_size_type not a size_t Jim Kingdon 1991-05-03 01:59:25 +00:00
  • bf475b4991 Make it limp for MIPS ECOFF, too. John Gilmore 1991-05-03 01:24:03 +00:00
  • 8ffd75c8a9 Mips bringup and general cleanup John Gilmore 1991-05-03 01:07:12 +00:00
  • 2bff8e38bc *** empty log message *** Jim Kingdon 1991-05-03 00:50:18 +00:00
  • 23b0b55855 Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a) and make the result compile and run on the DEC 3100. It still has trouble running but it can handle opening exec and symbol files in ecoff format. John Gilmore 1991-05-02 23:10:23 +00:00
  • 9b4641a629 Make it compile on DEC 3100. John Gilmore 1991-05-02 21:27:31 +00:00
  • 1e6d5d3023 Minor cleanup to make it compile on DECstation. John Gilmore 1991-05-02 21:22:43 +00:00
  • 8c01a0eab1 Make bfd_filename return a char *, not a const char *. Jim Kingdon 1991-05-02 19:05:06 +00:00
  • 511a6d0ad6 *** empty log message *** Jim Kingdon 1991-05-02 06:46:25 +00:00
  • 65c9348236 *** empty log message *** Jim Kingdon 1991-05-02 04:38:14 +00:00
  • f7895c8750 Merge devo/bfd with GDB's bfd. John Gilmore 1991-05-02 04:37:41 +00:00
  • 8c8212900e * xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE. Jim Kingdon 1991-05-02 04:37:28 +00:00
  • 2d0c090e48 * blockframe.c, breakpoint.c, core.c, command.c, findvar.c, eval.c, expprint.c, infcmd.c, infrun.c, main.c, printcmd.c, remote.c, source.c, stack.c, dbxread.c, coffread.c, symfile.h, symfile.c, utils.c, valarith.c, values.c, valops.c, tm-68k.h, target.c, inftarg.c, ieee-float.c, environ.c, defs.h, command.h, inferior.h, gdbcore.h, symtab.h, expression.h, symtab.c, cplus-dem.c, value.h, expread.y, valprint.c, copying.awk, solib.c, inflow.c, symmisc.c : Lint. Use read_memory not read_memory_integer on CORE_ADDR's. Use {value_as,unpack}_pointer (added to values.c) not {value_as,unpack}_long on CORE_ADDR's. Use longest_to_int (added to defs.h) instead of cast to int. Remove from_tty arg to mod_path. Put symfile_bfd in {coff,dbx}read.c not symfile.h. Use OP_NULL instead of 0 where dummy enum exp_opcode needed. Jim Kingdon 1991-05-02 04:36:15 +00:00
  • e1ce8aa5ed The list of changes is too long to fit in the cvs log (since it truncates!). Look at the ChangeLog for Apr 30 and May 1. Jim Kingdon 1991-05-02 04:28:42 +00:00
  • 04a0511c0a * signame.c: Include defs.h and param.h. Jim Kingdon 1991-05-02 04:17:41 +00:00
  • fc7233808a Merge devo/bfd with GDB's bfd. John Gilmore 1991-05-02 04:11:40 +00:00
  • ff37ea550b Initial revision John Gilmore 1991-05-02 04:11:17 +00:00
  • 639893384d Merge devo/bfd with GDB's bfd. 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. John Gilmore 1991-05-02 03:39:15 +00:00
  • e77463a15c Merge devo/bfd with GDB's bfd. Things that use -lbfd must also use -liberty, to get obstacks. John Gilmore 1991-05-02 03:08:32 +00:00
  • 7a5a3c7b86 Merge devo/bfd with GDB's bfd. Use "libiberty" rather than "getopt" directory. Add a few FIXME's to ar.c. John Gilmore 1991-05-02 03:06:46 +00:00
  • 9c6a9c925f Update for merge of main BFD and GDB's BFD. Remove "_struct" suffix on all struct types -- they are in a separate namespace anyway. Move bfd_alloc, bfd_zalloc, bfd_realloc, bfd_release into libbfd.h, since external users shouldn't be calling them anyway. John Gilmore 1991-05-02 02:52:21 +00:00
  • aec4cb918e Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com) Michael Tiemann 1991-04-30 20:19:02 +00:00
  • 98c1b9e79b *** empty log message *** Jim Kingdon 1991-04-30 19:51:50 +00:00
  • 39d2bcca7d * sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to GDB_TARGET_IS_SUN3. Jim Kingdon 1991-04-30 19:50:49 +00:00
  • a416228b53 * Makefile.dist: Add comment about tm-sun3os4.h: tm-sun3.h, etc. Jim Kingdon 1991-04-30 19:50:07 +00:00
  • f0ca24b901 * sun386-xdep.c [!GDB_TARGET_IS_SUN386]: Just provide empty functions which don't do anything. Jim Kingdon 1991-04-30 19:49:40 +00:00
  • 94ac73c174 * Move BROKEN_LARGE_ALLOCA from tm-sun386.h to xm-sun386.h. Jim Kingdon 1991-04-30 19:49:22 +00:00
  • 79043f9ee8 * infrun.c: Don't include sys/user.h and friends (wrong for 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_. Jim Kingdon 1991-04-29 20:54:42 +00:00
  • 192040b131 {x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files. Jim Kingdon 1991-04-29 05:28:47 +00:00
  • cb173f45df Initial revision Jim Kingdon 1991-04-29 05:28:45 +00:00
  • 122ad9abf2 * param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined 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. Jim Kingdon 1991-04-29 05:27:04 +00:00
  • 5d98a45f63 * tm-sparc.h: Add comments about gcc version 2 and structure passing. Jim Kingdon 1991-04-26 23:09:53 +00:00
  • 689f801a79 *** empty log message *** Jim Kingdon 1991-04-26 23:09:52 +00:00
  • b011df5246 * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type. Return void not int. (also declarations in symfile.h and value.h). Jim Kingdon 1991-04-26 23:07:03 +00:00
  • d166df9b4e defs.h (TARGET_LONG_LONG_BIT): New macro. Jim Kingdon 1991-04-26 23:05:38 +00:00
  • ea9cdf62c6 * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long regardless of LONG_LONG. symtab.c, symtab.h (allocate_stub_method): New function. Jim Kingdon 1991-04-26 23:05:17 +00:00
  • b99f250bf9 * values.c, value.h: New functions value_{headof,from_vtable_info}. * value.h: Remove redundant declaration of value_static_field. Jim Kingdon 1991-04-26 23:04:32 +00:00
  • 71b16efa43 * values.c (check_stub_method): Do lookup_method_type and stuff 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: Jim Kingdon 1991-04-26 23:04:10 +00:00
  • 0dce377401 * valprint.c (val_print): Print out first element of vtbl 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. Jim Kingdon 1991-04-26 23:02:38 +00:00
  • d3bab255c7 * valops.c (typecmp): If t2 == 0, return 1. * 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. Jim Kingdon 1991-04-26 23:02:15 +00:00
  • d96b54ea7a * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long 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. Jim Kingdon 1991-04-26 23:01:36 +00:00
  • 7cc4387940 * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type. Return void not int. (also declarations in symfile.h and value.h). Deal with multiple inheritance. Jim Kingdon 1991-04-26 23:00:55 +00:00
  • 3577f9b469 * printcmd.c (x_command): Dereference references. * printcmd.c (print_command_1): Add if (objectprint) code. Jim Kingdon 1991-04-26 23:00:32 +00:00
  • 5f00ca54af * eval.c (evaluate_subexp, case UNOP_LOGNOT): If following opcode 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. Jim Kingdon 1991-04-26 22:59:54 +00:00
  • 62c4f98b2b dbxread.c (read_type): If we get "##", don't lookup_function_type 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}. Jim Kingdon 1991-04-26 22:59:00 +00:00
  • 55838914fd * cplus-dem.c (optable): Add "nw", "dl", "compound". (cplus_mangle_opname): New function. (do_type): Add case 'Q'. * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some things "const". Jim Kingdon 1991-04-26 22:58:14 +00:00
  • 5cced18459 * expread.y (abs_decl): Accept '&' and '&' abs_decl. 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". Jim Kingdon 1991-04-26 22:57:44 +00:00
  • 81919cc85b * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some things "const". Jim Kingdon 1991-04-26 22:57:07 +00:00
  • 2d3b429559 gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code. * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize. Jim Kingdon 1991-04-26 22:56:08 +00:00
  • 1dcabdbc6a * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096. gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code. Jim Kingdon 1991-04-26 22:55:42 +00:00
  • 44954de0f6 Replace all 5 BFD_FAILURE's with false's. John Gilmore 1991-04-26 16:32:55 +00:00
  • ec08b07730 Remove BFD_SUCCESS and BFD_FAILURE, replace with a comment about return values of functions. John Gilmore 1991-04-26 16:32:20 +00:00
  • d6e467b4c5 Use the new merged include directory. John Gilmore 1991-04-25 04:25:00 +00:00
  • d6a554ae83 Minor changes to accomodate merging of three include file directories. John Gilmore 1991-04-25 04:22:55 +00:00
  • bad3df6720 Merge intel-deliver and amd-deliver "include" directories, and the GDB include directory, all into a single include directory. John Gilmore 1991-04-25 04:20:18 +00:00
  • a07cc61341 Initial revision John Gilmore 1991-04-25 04:20:11 +00:00
  • a6ac0c5998 Fix minor pointer type problems that "cc" complains about. John Gilmore 1991-04-25 04:06:21 +00:00
  • 65c552e308 Added the sizeof_headers keyword. Steve Chamberlain 1991-04-24 20:53:36 +00:00
  • 453063fec9 Added some depdenencies and fixed etags Steve Chamberlain 1991-04-24 20:52:21 +00:00
  • 4cddd1c904 Changed the shape of the howto type yet again. Steve Chamberlain 1991-04-24 20:51:27 +00:00
  • a36f604047 This is the last one I gave to Telebit, minus all the print_msg's. Jim Kingdon 1991-04-24 19:33:31 +00:00
  • a1002e9ab0 * WHATS.NEW: Remove mention of readline and more paging (in 3.5). Try to keep command names up to date with renaming. Jim Kingdon 1991-04-24 19:30:10 +00:00
  • be11d1119a * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize. Jim Kingdon 1991-04-24 19:18:42 +00:00
  • a71d17b1ac * infun.c (resume, resume_cleanups): New functions. (wait_for_inferior, proceed, child_create_inferior): Use resume not target_resume. Jim Kingdon 1991-04-24 19:17:58 +00:00
  • fc4214d1b2 Three staging checkpoint. K. Richard Pixley 1991-04-24 19:06:14 +00:00
  • eb7ba50c7c * remote.c (getpkt): Don't set immediate_quit. Jim Kingdon 1991-04-24 17:14:10 +00:00
  • 2403f49b37 * blockframe.c, frame.h (reinit_frame_cache): New function. solib.c (solib_add), symfile.c ({,add_}symbol_file_command): Use it. Jim Kingdon 1991-04-24 16:56:40 +00:00
  • 6a3958b22d Three staging checkpoint. K. Richard Pixley 1991-04-24 16:52:32 +00:00
  • b039ac3a20 * symtab.c (lookup_symbol): Add 3 more of those loops through 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. Jim Kingdon 1991-04-24 02:23:40 +00:00
  • e532974c43 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. Jim Kingdon 1991-04-24 01:01:09 +00:00
  • 9107291db4 * main.c (cd_command): Call dont_repeat. Jim Kingdon 1991-04-24 00:08:50 +00:00
  • 39a2ce33d7 *** empty log message *** Steve Chamberlain 1991-04-23 22:44:20 +00:00
  • 19b7c2a49e * printcmd.c (print_scalar_formatted): Add 't' for binary. Jim Kingdon 1991-04-23 17:27:49 +00:00
  • 9872a49c27 *** empty log message *** Steve Chamberlain 1991-04-23 16:02:09 +00:00