Commit Graph

624 Commits

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