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).
35 years ago
John Gilmore
2ce38c6d29
Add buildsym.c and buildsym.h.
35 years ago
John Gilmore
c030245775
Break out symbol-table-building routines
from dbxread.c, so they can be shared with xcoffread.c.
35 years ago
Per Bothner
bcccec8c8d
Various fixes to improve g++ debugging. See ChangeLog.
35 years ago
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.
35 years ago
Stu Grossman
eb3f3e5c6a
*** empty log message ***
35 years ago
Stu Grossman
159a075e55
* coffread.c, coredep.c, i386-xdep.c: install patches for
SysV/386 3.2 from Mauro DePalma.
35 years ago
John Gilmore
c58215f248
* core.c (core_file_info), exec.c (exec_file_info): Print file
type. Use printf_filtered.
35 years ago
John Gilmore
9cb602e111
(value_fetch_lazy): Avoid 0-length fetches.
35 years ago
Fred Fish
c8c0a2bd59
Add casts to remove compiler warnings from native Sun cc.
35 years ago
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.
35 years ago
Fred Fish
ed317bb309
Remove local BSD/USG hacks that are now in libiberty.
35 years ago
Fred Fish
b662acae40
Remove prototype for dwarfwarn(). Breaks with <varargs.h>.
35 years ago
John Gilmore
b00771232f
frame-select command. Cross funcalls to sun3. Build *.tab.c files in
target dir.
35 years ago
Fred Fish
811348f23b
Add "amix".
35 years ago
Fred Fish
6fccdaf496
Add new DWARF, ELF, SVR4 /proc, Amiga UNIX, etc files.
35 years ago
John Gilmore
313fdead0e
Use <varargs.h>, since <stdarg.h> is not portable.
35 years ago
John Gilmore
54154111c5
Roll VERSION to 4.2.2.
35 years ago
Fred Fish
d10861fdda
Initial revision
35 years ago
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.
35 years ago
Fred Fish
bb4ff69408
Add dwarfread.c, dwarfread.o, elfread.c, elfread.o to source and object
file macros. Other obvious dwarf/elf tweaks.
35 years ago
Fred Fish
2f068b0dd5
Add "elf" to list of supported debugging formats in comment.
35 years ago
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.
35 years ago
Fred Fish
020706804b
Add machine dependent support routines for SVR4 /proc interface.
35 years ago
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.
35 years ago
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().
35 years ago
Fred Fish
eaa1ef1df1
Make internal errors produce more useful messages.
35 years ago
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).
35 years ago
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.
35 years ago
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.
35 years ago
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.
35 years ago
John Gilmore
e89b8910fc
Add note about strstr botch on sunos4.0.3c and previous.
35 years ago
Stu Grossman
2e393ce478
* infrun.c (wait_for_inferior): Check return value from
find_pc_line.
35 years ago
Stu Grossman
0d3e7f607f
*** empty log message ***
35 years ago
Stu Grossman
bc6c937d0b
*** empty log message ***
35 years ago
Stu Grossman
b3b39c0c76
* infrun.c (wait_for_inferior): fix stepi/nexti that was broken
by my last edit to this routine.
35 years ago
Steve Chamberlain
44e4e473f8
* configure.in: added ebmon target.
35 years ago
John Gilmore
b1dcd6ac3f
Final touchups for release
35 years ago
John Gilmore
785ce19c33
More last minute gdb-4.2 changes.
35 years ago
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.
35 years ago
John Gilmore
c5a475c86d
* xconfig/i386sco: Add HAVE_STRSTR to avoid ANSI bdeath.
* xconfig/tahoe: Add REGEX, which seems to be missing.
35 years ago
Roland Pesch
9e0906a6b2
*** empty log message ***
35 years ago
Roland Pesch
092678655c
More updates due to Picard refcard comments.
35 years ago
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.
35 years ago
Roland Pesch
e0dacfd17a
Clarifications and rephrasings, largely due to Pinard's comments on
refcard.
35 years ago
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.
35 years ago
John Gilmore
a13f8a2f23
Remove -Dgetpagesize()=4096 kludge.
35 years ago
John Gilmore
6150cc735f
* dbxread.c (read_dbx_symtab, process_one_symbol): Handle
Sequent N_FN_SEQ like everybody else's N_FN.
35 years ago
Roland Pesch
5dfddc7fc6
* doc/refcard.tex (sec "Working Files"): consistent metavars, due
to Franc,ois Pinard (pinard@iro.umontreal.ca )
35 years ago
Roland Pesch
d9800dbbf3
Fix error spotted by Francois Pinard (pinard@iro.umontreal.ca): several
instances of *name* in "Working Files" s.b. *file*.
35 years ago