Commit Graph

834 Commits

Author SHA1 Message Date
John Gilmore 8013e17047 Lint 1991-11-22 16:28:05 +00:00
John Gilmore 3cb0d72dbf Roll new files into various lists. 1991-11-22 07:49:53 +00:00
John Gilmore 2e8521a929 Roll VERSION to 4.2.90. 1991-11-22 03:36:23 +00:00
Fred Fish 4cfd3c4990 Initialize the c++ specific portion of the type structure for union types
as well as struct types, since gdb attempts to reference that portion for
both types.  Was getting core dumps due to NULL pointer dereferencing.
1991-11-22 02:30:34 +00:00
John Gilmore f7402c04fa * main.c: Use getcwd rather than getwd.
* standalone.c:  Fake getcwd rather than getwd.
* xm-*.h:  Remove fake values of MAXPATHLEN.
1991-11-22 01:29:29 +00:00
Stu Grossman 7b554a2875 hsuser.texinfo -> inc-hist.texi. 1991-11-22 00:36:55 +00:00
Stu Grossman e9d98c95a5 Refer to new locations for readline doc. 1991-11-22 00:24:23 +00:00
John Gilmore 76b28d05a2 Add /* */ to #if 0'd thing to help ANSI. 1991-11-21 22:08:25 +00:00
John Gilmore 21f62bbd30 Remove more refs to removed files. 1991-11-21 21:15:57 +00:00
John Gilmore 3db0634cec * exec.c (exec_files_info): If `verbose' is set, show file offset as well. 1991-11-21 19:59:09 +00:00
John Gilmore 2eba358f6b Update for new files and changed include files. 1991-11-21 19:26:37 +00:00
John Gilmore 7d9884b927 * defs.h: Incorporate param.h. All users changed.
* param-no-tm.h:  Change users to define TM_FILE_OVERRIDE instead.
* param.h, param-no-tm.h:  Removed.
* Update copyrights in all changed files.
* dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c,
solib.c, symtab.h, tm-umax.h, valprint.c:  Lint.
* tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h,
xm-merlin.h:  Avoid host include files in target descriptions.
* getpagesize.h:  Removed, libiberty copes now.
1991-11-21 18:42:05 +00:00
John Gilmore d51bea8d2c Update checked-in copy for convenience. (FSF releases build their own.) 1991-11-21 14:57:44 +00:00
John Gilmore 49faf3b650 Remove rudimentary HP a.out support from GDB, move to ../include. 1991-11-21 04:02:27 +00:00
John Gilmore 44ff4c96a4 Cashier <a.out.gnu.h> 1991-11-21 03:59:14 +00:00
John Gilmore f318d221a5 More *config stuff 1991-11-21 03:39:08 +00:00
John Gilmore 8cc1c08ffc tconfig and xconfig => config 1991-11-21 03:35:22 +00:00
John Gilmore 6cf7ab940a echo echo echo 1991-11-21 03:20:09 +00:00
John Gilmore efde72f216 xconfig, tconfig ==> config 1991-11-21 03:19:37 +00:00
John Gilmore 2becda63fb Add rs/6000, merge xconfig and tconfig into config. 1991-11-21 03:12:25 +00:00
John Gilmore f187c3a41a tconfig&xconfig => config 1991-11-21 03:08:51 +00:00
John Gilmore 3978d0599b Makefile fragments for various hosts and targets now come from
gdb/config/mh-* and gdb/config/mt-*.  This is for consistency with
other config setups.
1991-11-21 03:04:36 +00:00
John Gilmore 3d29576b5a For configure-able doc dir. 1991-11-21 02:44:53 +00:00
John Gilmore 6373dbe3d7 Clean up rs6000 opcode stuff. 1991-11-21 02:37:15 +00:00
Fred Fish 768be6e12b Recognize obsolete form of AT_element_list attribute still used by AT&T
compilers on one platform, and possibly more.
1991-11-20 13:07:12 +00:00
K. Richard Pixley 332523bfd3 add staging stuff 1991-11-20 03:49:05 +00:00
Fred Fish 0db97eedc1 Ignore names invented by helpful compilers for anonymous structs, unions,
and enums.
1991-11-20 00:20:43 +00:00
Fred Fish d018c8a6e1 Add defines so that parsers produced by SVR4 versions of yacc can coexist
in the same executable without collision (c-exp.y, m2-exp.y).  Add forward
delaration of function returning pointer to shut up compiler warnings about
conversion of int to pointer (symtab.h).
1991-11-19 15:59:55 +00:00
John Gilmore b9fd133061 Remove tdesc stuff and prettify. 1991-11-19 06:15:22 +00:00
Fred Fish 5129100c03 More inclusion of defs.h to before param.h, ala other source files.
This is required to supply some typedefs used in files included via
param.h.
1991-11-19 05:22:32 +00:00
Fred Fish b6666a5d67 Add generic m68k function prologue skipping support and expand the
skipping to include movem and fmovem.
1991-11-19 01:54:52 +00:00
John Gilmore 5e2569e653 Remove tdesc stuff. 1991-11-19 00:50:06 +00:00
John Gilmore db715c48de Rename tm-88k.h to tm-m88k.h 1991-11-19 00:47:14 +00:00
John Gilmore 1c86f18f53 Remove tdescs. 1991-11-19 00:45:03 +00:00
John Gilmore e140f1dab1 Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,
since it was always defined exactly the same in all of them.
1991-11-18 23:52:12 +00:00
Fred Fish 1a18a1856b Supply missing third arg to instance of call to do_type(). 1991-11-18 18:18:30 +00:00
Fred Fish 2d6186f4fa Changes to match new DWARF draft 5 version of include/dwarf.h. 1991-11-18 08:07:43 +00:00
Michael Tiemann 572acbbedc Make changes needed to handle code which uses ANSI-mangled names (and
new G++ 1.95 dbxout output).
1991-11-18 00:32:34 +00:00
Sean Eric Fagan d671e293c3 Fixed a syntax error. 1991-11-16 07:24:23 +00:00
Stu Grossman cd71911ed3 * mipsread.c (parse_partial_symbols): patch to keep DEC C
compiler from making gdb bomb out.  Thanks to Ed Santiago!
1991-11-16 02:00:50 +00:00
David Henkel-Wallace 5805020985 ansi name abuse changes 1991-11-15 23:23:11 +00:00
David Henkel-Wallace 4c53d9ca84 ansi name abuse changes 1991-11-15 23:16:29 +00:00
Fred Fish 5a5a3b0fb3 Add compact_misc_function_vector() to compact out duplicate entries in
the misc function vector.  See comments in the source for why this is
necessary.
1991-11-15 03:41:42 +00:00
Fred Fish a7446af61b Changes to build misc function vector entries from canonical bfd symbol
table entries.
1991-11-15 03:36:45 +00:00
Roland Pesch 92b7379396 Two kinds of changes:
(1) repair refs to readline includes to use new shorter filenames
(2) provision for texi2roff conversion of doc via Makefile
    (new targets: gdb.mm, gdb.me, gdb.ms).
1991-11-15 00:58:33 +00:00
John Gilmore 653d6c56a1 Handle moves ahead of the stack pointer slide, for struct returning fns. 1991-11-14 22:15:41 +00:00
Steve Chamberlain faa0da67ef Added delta88 1991-11-14 22:01:47 +00:00
John Gilmore 430923f3fa * m88k-tdep.c (examine_prologue): Deal with OR instructions
that shuffle parameters into other regs.
* symtab.c (decode_line_1):  Fix bug introduced in Per's change
of Nov 12th.
1991-11-14 21:20:12 +00:00
K. Richard Pixley 919de9a1af Rename them so that we can symlink them so that m4 can see them. 1991-11-14 09:26:26 +00:00
K. Richard Pixley e92ee46965 added all-info and install-info targets 1991-11-14 08:54:39 +00:00
Steve Chamberlain b98412e372 Uses <foo>.n as a temp file rather than <foo>.new so it doesn't go
over sysV's limit.
1991-11-14 03:58:08 +00:00
Steve Chamberlain 29e103320f Added M_INSTALL magic 1991-11-14 03:57:30 +00:00
Steve Chamberlain a219b090a4 * Makefile.in, xconfig/delta88 made it install a sysV manual page;
gdb.z into the right place.
1991-11-14 03:57:05 +00:00
John Gilmore 57e69bb3c0 Handle alloca with fake routine. 1991-11-14 01:13:35 +00:00
John Gilmore 0724ed4f1f Post-tdesc working version, but with tdesc's not gone yet. 1991-11-14 01:12:24 +00:00
John Gilmore ea3c08395c Motorola 88000 port without tears, I mean without tdescs.
ChangeLog has the details.  This is preliminary for quick release,
cleanups remain to be done.
1991-11-14 01:01:28 +00:00
John Gilmore edbf28ce4c Add rudiments on frames. 1991-11-14 00:57:48 +00:00
K. Richard Pixley 50d2bb5b4c now handle doc subdir, too 1991-11-14 00:28:11 +00:00
K. Richard Pixley b7becc8fc3 added info dir menu hooks 1991-11-14 00:26:43 +00:00
K. Richard Pixley dc341d8b47 build and install info 1991-11-14 00:25:19 +00:00
Roland Pesch 37daba7b9f Minor rephrasing; probably an overfull-box correction for smallbook
formatting, not checked in earlier.
1991-11-14 00:08:39 +00:00
K. Richard Pixley 1eb988b989 joins the rest of the world 1991-11-13 20:35:19 +00:00
Sean Eric Fagan 127850e739 Ported to SCO's 3.2v2 system. 1991-11-13 04:13:38 +00:00
John Gilmore cd56d31436 Forgot opcode files. 1991-11-13 04:00:22 +00:00
John Gilmore 19230be6ac xcoffread.c, tdesc-lib, and misc fixes. 1991-11-13 03:32:29 +00:00
Per Bothner 0e2a896cf5 Fixes related to handling of C++ methods (handle destructors
and parameters that are functions).
1991-11-12 22:20:02 +00:00
Steve Chamberlain 5f12485297 Added tdesc-lib 1991-11-12 21:50:02 +00:00
Fred Fish 58ae87f612 Remove internal gdb definition of fixed arg count concat() function and
convert to use of variable arg count concat() in libiberty.
1991-11-12 17:50:14 +00:00
Steve Chamberlain ecb1b520de First cut 1991-11-12 17:34:33 +00:00
Steve Chamberlain 5d2d9ca629 Initial revision 1991-11-12 17:29:57 +00:00
John Gilmore 74f6fb084c * Makefile.in: Add xcoffread.c, xcoffexec.c.
* xcoffread.c:  New file for handling AIX mangled-coff files.
* xconfig/rs6000, tconfig/rs6000:  New files.
* buildsym.c:  Add hooks for xcoffread.c.
1991-11-12 15:54:27 +00:00
John Gilmore 41abdfbd2d * rs6000-pinsn.c, rs6000-tdep.c, rs6000-xdep.c, tm-rs6000.h,
xm-rs6000.h:  New files.
* xcoffexec.c:  New file for handling AIX shared libraries.
1991-11-12 15:50:47 +00:00
John Gilmore 37b637f3b7 Initial revision 1991-11-12 15:27:52 +00:00
John Gilmore e38e0312fe New file. 1991-11-12 15:24:56 +00:00
Fred Fish 285b1325d9 Remove coredep.o from XDEPFILES. The fetch_core_registers() function is
now found in procfs.c for hosts with /proc support.
1991-11-12 03:26:13 +00:00
Fred Fish fb18285098 Minor rewording of message containing name of program that generated a
core file (core.c), permanently remove the register_addr() stub (elfread.c),
move a misplaced #endif (procfs.c), and add fetch_core_registers func for
core file support (procfs.c).
1991-11-12 03:23:32 +00:00
Steve Chamberlain 35350222a8 Added MINUS_G flag, now debugging can be turned off 1991-11-11 19:23:24 +00:00
Fred Fish b662efeddc Remove leftover call to do_cleanups() which resulted from a previous change.
Was being called with a random pointer.
1991-11-09 21:57:55 +00:00
Fred Fish 8aca810c2a Re-enable compilation of register_addr() stub whenever it is not supplied
by coredep.c, since it is referenced by fetch_core_registers().  This is
still a temporary kludge.
1991-11-09 21:43:47 +00:00
John Gilmore 19405dda98 Remove Rs/6000 changes (patch_block_stabs) so it will link without. 1991-11-09 11:16:47 +00:00
John Gilmore 1d82d3dcad More changes for objfiles. 1991-11-09 11:01:08 +00:00
John Gilmore a048c8f537 Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file.  See ChangeLog.
1991-11-09 10:50:07 +00:00
John Gilmore c466820795 Lint and some rs/6000 port. 1991-11-09 07:45:36 +00:00
Roland Pesch 203eea5d62 Format improvements, mostly for @smallbook (including reformatted table
of config options).
1991-11-08 20:57:43 +00:00
Steve Chamberlain c4a6d8f12a Remove spurious echo 1991-11-08 05:59:52 +00:00
Steve Chamberlain b715d5b4aa * Makefile.in: link with libiberty after libreadline, since
readline might want something in libiberty.
1991-11-08 02:58:01 +00:00
Steve Chamberlain b92c774e39 * 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.
1991-11-08 02:28:35 +00:00
Steve Chamberlain 12f2fd9f1f Fixed S?IP_OFFSETs for the Motorola Delta 88. 1991-11-08 02:22:46 +00:00
Steve Chamberlain 8c7ae4a273 Added delta88 cases 1991-11-08 02:20:29 +00:00
Steve Chamberlain de94d3dadc #ifndef USIZE
around #define USIZE
1991-11-08 02:18:49 +00:00
Steve Chamberlain 557f4de774 Include coff-m88k.h rather than m88kbcs.h 1991-11-08 02:17:43 +00:00
John Gilmore 1bf068b8a0 Fix decoding of mtacc, dmac, fmac. These files should really get merged
with the ones in BFD and the assembler, but c'est la vie.
1991-11-08 01:50:51 +00:00
K. Richard Pixley 02f25e46a6 fixed for objdir/subdirs 1991-11-08 00:54:27 +00:00
John Gilmore fbcb509562 * 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.
1991-11-07 13:14:59 +00:00
John Gilmore e64fbb3aa7 * 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.
1991-11-07 01:27:46 +00:00
Steve Chamberlain f9da0d6713 Added gdb.1 1991-11-06 09:24:57 +00:00
Steve Chamberlain 0aaa124f3e * 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.
1991-11-06 06:49:20 +00:00
Roland Pesch c1d43aa230 Correction in intro text re corefile arg (may also be procID); second time
around didn't ack two possibilities.
1991-11-06 01:22:44 +00:00
Per Bothner 545af6ce07 Add C++ as a separate language.
Also, fix a C++ problem when looking for methods in super-classes.
(There was confusion between base and derived types.)
1991-11-06 01:08:21 +00:00
Roland Pesch 4906534f1f Record (as comments) three FIXMEs. 1991-11-06 00:36:08 +00:00
Per Bothner abefb1f107 * 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.
1991-11-04 23:15:31 +00:00
Per Bothner 6a8687f3c7 * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,
xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more.
1991-11-04 23:10:47 +00:00
Steve Chamberlain 4dbf824f02 Use new i386aout when i386-aout seen 1991-11-04 01:27:49 +00:00
Steve Chamberlain e92cc5b944 New files 1991-11-04 01:25:43 +00:00
Steve Chamberlain c02e12c0ec Initial revision 1991-11-04 01:25:42 +00:00
John Gilmore c9bd6710ad * 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.
1991-11-01 19:12:35 +00:00
Stu Grossman d7d1098dca * 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.
1991-11-01 02:16:20 +00:00
Stu Grossman 8b3c897ae9 * main.c (initialize_history): Read history after reading all
init files.
1991-10-28 02:20:47 +00:00
John Gilmore b90c4f33cd * 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.
1991-10-27 22:27:15 +00:00
John Gilmore a23075bc5a * 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.
1991-10-27 22:26:52 +00:00
John Gilmore 4137c5fc0d * 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.
1991-10-27 22:26:02 +00:00
John Gilmore d47d5315c8 * 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).
1991-10-26 08:02:23 +00:00
John Gilmore 2ce38c6d29 Add buildsym.c and buildsym.h. 1991-10-26 07:22:46 +00:00
John Gilmore c030245775 Break out symbol-table-building routines
from dbxread.c, so they can be shared with xcoffread.c.
1991-10-26 07:21:30 +00:00
Per Bothner bcccec8c8d Various fixes to improve g++ debugging. See ChangeLog. 1991-10-26 02:05:14 +00:00
Stu Grossman 5ab580ccf8 * tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output of
short return values for sparc and 68k.  Patch from Paul Eggert.
1991-10-26 01:06:16 +00:00
Stu Grossman eb3f3e5c6a *** empty log message *** 1991-10-26 00:57:08 +00:00
Stu Grossman 159a075e55 * coffread.c, coredep.c, i386-xdep.c: install patches for
SysV/386 3.2 from Mauro DePalma.
1991-10-25 23:10:12 +00:00
John Gilmore c58215f248 * core.c (core_file_info), exec.c (exec_file_info): Print file
type.  Use printf_filtered.
1991-10-25 09:32:06 +00:00
John Gilmore 9cb602e111 (value_fetch_lazy): Avoid 0-length fetches. 1991-10-25 09:03:36 +00:00
Fred Fish c8c0a2bd59 Add casts to remove compiler warnings from native Sun cc. 1991-10-25 06:47:13 +00:00
Fred Fish 84d82b1ccd 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.
Minor spelling correction in valops.c.
1991-10-25 06:29:23 +00:00
Fred Fish ed317bb309 Remove local BSD/USG hacks that are now in libiberty. 1991-10-25 06:13:22 +00:00
Fred Fish b662acae40 Remove prototype for dwarfwarn(). Breaks with <varargs.h>. 1991-10-25 06:09:15 +00:00
John Gilmore b00771232f frame-select command. Cross funcalls to sun3. Build *.tab.c files in
target dir.
1991-10-25 04:29:01 +00:00
Fred Fish 811348f23b Add "amix". 1991-10-24 18:09:34 +00:00
Fred Fish 6fccdaf496 Add new DWARF, ELF, SVR4 /proc, Amiga UNIX, etc files. 1991-10-24 18:07:57 +00:00
John Gilmore 313fdead0e Use <varargs.h>, since <stdarg.h> is not portable. 1991-10-24 16:34:56 +00:00
John Gilmore 54154111c5 Roll VERSION to 4.2.2. 1991-10-24 16:24:23 +00:00
Fred Fish d10861fdda Initial revision 1991-10-24 11:32:42 +00:00
Fred Fish 35f5886ebb New files for DWARF debugging format support, ELF object file support, SVR4
/proc (process file system) support, Amiga UNIX target and host defines, SVR4
target and host defines, and m68k hosts defines.
1991-10-24 11:28:54 +00:00
Fred Fish bb4ff69408 Add dwarfread.c, dwarfread.o, elfread.c, elfread.o to source and object
file macros.  Other obvious dwarf/elf tweaks.
1991-10-24 11:11:12 +00:00
Fred Fish 2f068b0dd5 Add "elf" to list of supported debugging formats in comment. 1991-10-24 11:09:46 +00:00
Fred Fish e2aab0314f Add three new builtin types (builtin_type_long_double, builtin_type_complex,
and builtin_type_double_complex).  Also add and use various TARGET_<TYPE>_BIT
macros to indicate the sizes of various types on the target machine.
1991-10-24 10:58:41 +00:00
Fred Fish 020706804b Add machine dependent support routines for SVR4 /proc interface. 1991-10-24 10:48:55 +00:00
Fred Fish 63ac7ef33f When using SVR4 /proc interface, call proc_set_exec_trap() rather than
ptrace(), to arrange for child to stop on first instruction.
1991-10-24 10:47:11 +00:00
Fred Fish 2bc2e684ad Add new function warning() which behaves the same as error() but returns
rather than jumping back to command level.  Modules that want to print
their own warnings without calling warning() can call warning_setup() to
handle the terminal compatibly with warning() and error().
1991-10-24 10:38:56 +00:00
Fred Fish eaa1ef1df1 Make internal errors produce more useful messages. 1991-10-24 10:29:07 +00:00
Fred Fish dcd15e5e7a Move code duplicated in almost every single m68k based machine to the
common target file tm-68k.h.  Duplications still need to be removed (FIXME).
1991-10-24 10:21:41 +00:00
Fred Fish 150f543625 System V versions must call setpgrp() with no arguments, to comply with
prototyping typically in <unistd.h>.  Otherwise the compile fails, at
least with gcc.
1991-10-24 09:26:05 +00:00
Fred Fish cb17dfb1c0 Add support for SVR4 style nm output. Not claimed to be optimal, I'm not
a sed hacker.  It does seem to work fine.
1991-10-24 08:54:58 +00:00
Fred Fish 4a35d6e91b 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.
1991-10-24 08:42:20 +00:00
John Gilmore e89b8910fc Add note about strstr botch on sunos4.0.3c and previous. 1991-10-23 18:12:20 +00:00
Stu Grossman 2e393ce478 * infrun.c (wait_for_inferior): Check return value from
find_pc_line.
1991-10-23 01:06:36 +00:00
Stu Grossman 0d3e7f607f *** empty log message *** 1991-10-23 01:05:57 +00:00
Stu Grossman bc6c937d0b *** empty log message *** 1991-10-22 00:51:28 +00:00
Stu Grossman b3b39c0c76 * infrun.c (wait_for_inferior): fix stepi/nexti that was broken
by my last edit to this routine.
1991-10-22 00:50:58 +00:00
Steve Chamberlain 44e4e473f8 * configure.in: added ebmon target. 1991-10-21 17:06:59 +00:00
John Gilmore b1dcd6ac3f Final touchups for release 1991-10-17 06:51:00 +00:00
John Gilmore 785ce19c33 More last minute gdb-4.2 changes. 1991-10-17 05:58:34 +00:00
John Gilmore b53d3945ed * coredep.c: Add <sys/types.h> for SCOnix.
* dbxread.c (read_dbx_symntab):  Avoid coredump on malformed file.
* printcmd.c (print_formatted):  Flush output before disassembly.
* xm-mips.h:  Update KERNEL_U_ADDR for new scheme.  Cleanup a bit.
1991-10-17 05:57:51 +00:00
John Gilmore c5a475c86d * xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe:  Add REGEX, which seems to be missing.
1991-10-17 05:57:02 +00:00
Roland Pesch 9e0906a6b2 *** empty log message *** 1991-10-16 22:11:28 +00:00
Roland Pesch 092678655c More updates due to Picard refcard comments. 1991-10-16 22:08:33 +00:00
John Gilmore a1b8c5d69d GDB-4.2 release!
* Makefile.in:  Roll VERSION to 4.2.

* tm-i386v.h:  #endif guck.
* xconfig/i386*:  Remove -Dgetpagesize()=4096 kludge.
1991-10-16 21:02:31 +00:00
Roland Pesch e0dacfd17a Clarifications and rephrasings, largely due to Pinard's comments on
refcard.
1991-10-16 20:00:20 +00:00
John Gilmore 45e6027024 * core.c (core_open): Improve error message for bad file.
Pass .reg virtual memory address to fetch_core_registers to help
it find the registers in the core-file header.
* coredep.c (fetch_core_registers):  Take new argument, use it,
and pass it to register_addr to locate the block of registers.
1991-10-16 19:42:05 +00:00
John Gilmore a13f8a2f23 Remove -Dgetpagesize()=4096 kludge. 1991-10-16 19:41:34 +00:00
John Gilmore 6150cc735f * dbxread.c (read_dbx_symtab, process_one_symbol): Handle
Sequent N_FN_SEQ like everybody else's N_FN.
1991-10-16 19:38:56 +00:00
Roland Pesch 5dfddc7fc6 * doc/refcard.tex (sec "Working Files"): consistent metavars, due
to Franc,ois Pinard (pinard@iro.umontreal.ca)
1991-10-16 06:35:14 +00:00
Roland Pesch d9800dbbf3 Fix error spotted by Francois Pinard (pinard@iro.umontreal.ca): several
instances of *name* in "Working Files" s.b. *file*.
1991-10-16 06:32:57 +00:00
Roland Pesch e251e76736 Another revision of "Installing" appendix, for GDB 4.2. Table of config
name segments now updated.
1991-10-16 06:27:06 +00:00
Roland Pesch 93ae2e889a * doc/gdb.texinfo (appendix "Installing GDB"): changes in configure. 1991-10-16 03:13:36 +00:00
Roland Pesch c7637ea643 Update appendix "Installing GDB". (not yet updated: list of host-vendor-os). 1991-10-16 03:11:28 +00:00
John Gilmore 3dfb315ebd Further evolution. Remove hp-include pending real HP support. 1991-10-16 02:14:39 +00:00
John Gilmore 7ff46684f8 Configure isn't here any more. 1991-10-16 01:54:31 +00:00
John Gilmore 7534367a51 Remove configure and config.sub to ../ 1991-10-16 01:42:56 +00:00
John Gilmore 5d2cfefe93 * configure.in, tconfig/decstation, xconfig/decstation: Rename
dec3100 to decstation.
1991-10-16 01:06:01 +00:00
John Gilmore afe4ca159b Changes from Fred Fish:
* tm-68k.h (FPI_REGNUM):  Add.
* infrun.c (child_create_inferior):  flush stdout and stderr
before forking.
* configure.in:  Handle amigados, amix hosts and targets.
* inflow.c:  Handle TIOCGLTC_BROKEN for Amiga.

From Andreas Schwab:
* values.c (show_convenience):  Use printf_filtered.
* main.c (define_command):  Check result of lookup_command for
exact match.
(echo_command):  Use printf_filtered, and force output out.

* dbxread.c (read_enum_type):  Avoid Modula-2 kludge that breaks C
programs.
* i387-tdep.c (double_to_i387):  Fix typo for double_to_ieee_extended.
* utils.c (_initialize_utils):  If !ISATTY, don't paginate.
1991-10-15 23:29:34 +00:00
Roland Pesch 2109a7b736 * doc/gdb.texinfo
(nodes Continuing and Stepping; Memory; Targets) clarifications
	due to Larry Breed
1991-10-15 00:46:39 +00:00
Roland Pesch cedaf8bca5 Clarifications to "stepping", "Displaying Memory", and "Targets" due largely
to Larry Breed
1991-10-15 00:43:31 +00:00
Roland Pesch 440d983441 Catch up to changes recorded in GDB ChangeLog, to wit:
1) "show copying" and "show warranty" in sample output (instead of obs. "info")
2) new command "printpsyms"
3) Complaint "const/volatile indicator missing" re-enabled
4) Complaint "C++ type mismatch..." now "info mismatch..."
1991-10-14 20:36:50 +00:00
John Gilmore 3c6c67143a Assorted patches from Fred Fish, Peter Schauer. 1991-10-12 07:19:13 +00:00
John Gilmore df6335e19f * tm-{irix3,mips,nindy960,pn,symmetry,vx960}.h: Move
REGISTER_U_ADDR to corresponding xm- file.  Sugg. by Peter Schauer.
1991-10-12 07:11:48 +00:00
John Gilmore 9e77ff161f * copying.awk: Filter formfeeds out of copying & warrantee.
Make them available as `show copying' and `show warrantee' also.
1991-10-12 06:28:15 +00:00
John Gilmore 074274252f Read cross-core files on Mach 386. 1991-10-11 00:27:41 +00:00
John Gilmore 912456a503 * mipsread.c, coffread.c: initialise TYPE_VPTR_FIELDNO to -1.
This avoids coredumps under `set print object on' in value_headof
(called erroneously by value_from_vtable_info) for `p &struct'
or `p *struct'.  From Peter Schauer.
1991-10-10 00:05:52 +00:00
Roland Pesch 5298a14b49 (ORIG: date: 1991/09/27 22:47:20; author: pesch; state: Exp; lines: +3 -4)
Stop talking about obsolete "sharedlibrary" command in whats-new section.
1991-10-09 00:31:51 +00:00
Roland Pesch c728f1f0ef (ORIG: date: 1991/09/21 05:15:13; author: pesch; state: Exp; lines: +19 -18)
(1) fix typo ('_if_' and '_fi_' for '_if__' and '_fi__'!)
(2) prepare for semi-auto xref updating by rejoining xrefs broken across lines
1991-10-09 00:31:02 +00:00
Roland Pesch 7d7ff5f6dd (ORIG: date: 1991/09/21 03:59:06; author: pesch; state: Exp; lines: +12 -7)
Formatting updates to "installing" appendix.
1991-10-09 00:30:17 +00:00
Roland Pesch d7b569d59b (ORIG: date: 1991/09/21 02:59:57; author: gnu; state: Exp; lines: +32 -28)
Rearrange "how to install" and "how to print the doc" stuff so it drops
easier into README.
1991-10-09 00:29:37 +00:00
Roland Pesch f2857bd903 (ORIG: date: 1991/09/21 02:55:37; author: pesch; state: Exp; lines: +4 -2)
add missing index entries for set/show print sevenbit-strings.
1991-10-09 00:28:39 +00:00
Roland Pesch c338a2fdf2 (ORIG: date: 1991/09/21 02:01:41; author: pesch; state: Exp; lines: +175 -110)
Update configs table.
1991-10-09 00:27:09 +00:00
Roland Pesch 3e0d0a27fc (ORIG: date: 1991/09/20 22:43:47; author: pesch; state: Exp; lines: +47 -46)
Extract GDB version number from main GDB dir Makefile.in.
1991-10-09 00:26:15 +00:00
Roland Pesch c2bbbb2275 (ORIG: date: 1991/09/20 21:43:15; author: pesch; state: Exp;)
Merged in new doc on language setting, C, and Mod-2 by Andrew Beers;
cleanups to node structure.
1991-10-09 00:22:44 +00:00
Roland Pesch 0c81306bb4 Merged in new doc on language setting, C, and Mod-2 by Andrew Beers;
cleanups to node structure.

(RELEASE 4.1)
1991-10-09 00:17:27 +00:00
Roland Pesch b80282d52a RELEASE 4.0 docn. (Recovered from GDB 4.0 distribution; intervening
versions lost by cvs over system crash).
1991-10-09 00:06:58 +00:00
John Gilmore d1630095c4 First stage of coff-encap work. 1991-10-07 07:23:08 +00:00
John Gilmore e7a6fb0120 oops 1991-10-05 05:38:12 +00:00
John Gilmore c888e9cf5c Intel 386 Mach host port 1991-10-05 05:35:21 +00:00
John Gilmore 6617b94e06 Intel 386 Mach host port. 1991-10-05 05:35:06 +00:00
John Gilmore 634df4a653 Initial revision 1991-10-05 05:34:05 +00:00
Per Bothner a18e791707 More patches from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* mips-xdep.c (store_inferior_registers):  Don't try to
	write the (pseudo) FP.
	* mipsread.c (parse_partial_symbols):  Improved algorithm for
	setting pst->texthigh.
1991-10-05 00:25:09 +00:00
Roland Pesch 6e08f6d398 *** empty log message *** 1991-10-04 23:48:16 +00:00
Roland Pesch 60ba926295 Improve TEXINPUTS var set on calling TeX, so that things work even if
old value didn't specify current dir for input...
1991-10-04 23:46:57 +00:00
John Gilmore 7cefc05e6a * coffread.c, dbxread.c, symfile.c, symmisc.c, symtab.h: Remove
vestiges of typevectors, which were for symsegs and are no longer
used.  (From a question by Eliot Dresselhaus
<dresselh@RFT30.nas.nasa.gov>).
1991-10-04 07:40:21 +00:00
John Gilmore 9bba3334a0 * dbxread.c, coffread.c: static-ize functions that were
gratuitiously external.  (From Fred Fish.)
1991-10-04 06:46:30 +00:00
John Gilmore 5b0a744f98 * c-exp.y: sym->class to SYMBOL_CLASS (sym).
* dbxread.c (dbx_lookup_type):  Keep doubling size of typevector
until it is large enough.
1991-10-04 03:17:46 +00:00
John Gilmore 5bc757e244 * dbxread.c (read_type): Handle error case slightly better.
Make complaint message not C++-specific.

* symtab.c (lookup_symtab_1, lookup_symbol):  "fatal" errors
between symtabs and psymtabs become ordinary error()s.

* dbxread.c (read_dbx_symtab):  Relocate end_of_text_addr
properly, making "end pc" correct in shared lib psymtabs.
(From Guy Harris <guy@auspex.com>.)
1991-10-03 16:35:17 +00:00
Stu Grossman a03c8dc452 *** empty log message *** 1991-10-03 00:28:29 +00:00