Commit Graph

577 Commits

Author SHA1 Message Date
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