aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1991-11-12Remove coredep.o from XDEPFILES. The fetch_core_registers() function isFred Fish1-1/+1
now found in procfs.c for hosts with /proc support.
1991-11-12Minor rewording of message containing name of program that generated aFred Fish4-19/+75
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-11Added MINUS_G flag, now debugging can be turned offSteve Chamberlain1-1/+2
1991-11-09Remove leftover call to do_cleanups() which resulted from a previous change.Fred Fish2-3/+3
Was being called with a random pointer.
1991-11-09Re-enable compilation of register_addr() stub whenever it is not suppliedFred Fish2-3/+12
by coredep.c, since it is referenced by fetch_core_registers(). This is still a temporary kludge.
1991-11-09Remove Rs/6000 changes (patch_block_stabs) so it will link without.John Gilmore1-12/+0
1991-11-09More changes for objfiles.John Gilmore1-1/+8
1991-11-09Add tracking of object files (that contain symbols) to gdb.John Gilmore8-229/+443
This includes a "struct objfile" that owns symtabs and psymtabs that were read in from that binary file. See ChangeLog.
1991-11-09Lint and some rs/6000 port.John Gilmore6-183/+128
1991-11-08Format improvements, mostly for @smallbook (including reformatted tableRoland Pesch1-137/+132
of config options).
1991-11-08Remove spurious echoSteve Chamberlain1-1/+0
1991-11-08 * Makefile.in: link with libiberty after libreadline, sinceSteve Chamberlain2-1/+3
readline might want something in libiberty.
1991-11-08 * m88k-xdep.c: Fixed the register offsets in the ptrace_userSteve Chamberlain1-0/+7
struct for BCS 88k machines. * xm-m88k.h: don't define USIZE if already defined. * configure.in: Added delta88 target.
1991-11-08Fixed S?IP_OFFSETs for the Motorola Delta 88.Steve Chamberlain1-19/+16
1991-11-08Added delta88 casesSteve Chamberlain1-3/+19
1991-11-08#ifndef USIZESteve Chamberlain1-1/+2
around #define USIZE
1991-11-08Include coff-m88k.h rather than m88kbcs.hSteve Chamberlain1-1/+1
1991-11-08Fix decoding of mtacc, dmac, fmac. These files should really get mergedJohn Gilmore3-3/+5
with the ones in BFD and the assembler, but c'est la vie.
1991-11-08fixed for objdir/subdirsK. Richard Pixley1-5/+5
1991-11-07* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, andJohn Gilmore26-178/+41
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* coffread.c: Eliminate c_nsyms in favor of c_naux.John Gilmore2-13/+44
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-06Added gdb.1Steve Chamberlain1-0/+1
1991-11-06 * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c andSteve Chamberlain2-2/+9
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-06Correction in intro text re corefile arg (may also be procID); second timeRoland Pesch1-8/+9
around didn't ack two possibilities.
1991-11-06Add C++ as a separate language.Per Bothner5-15/+77
Also, fix a C++ problem when looking for methods in super-classes. (There was confusion between base and derived types.)
1991-11-06Record (as comments) three FIXMEs.Roland Pesch1-1/+13
1991-11-04 * infrun.c: Fixed typo in comment.Per Bothner13-284/+91
* 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 * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco,Per Bothner4-7/+0
xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more.
1991-11-04Use new i386aout when i386-aout seenSteve Chamberlain1-1/+1
1991-11-04New filesSteve Chamberlain1-0/+1
1991-11-04Initial revisionSteve Chamberlain1-0/+4
1991-11-01* mipsread.c (read_mips_symtab, read_the_mips_symtab): Use realJohn Gilmore3-8/+28
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* infrun.c (wait_for_inferior): another stepi/nexti fix. EnsureStu Grossman2-3/+8
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-10-28* main.c (initialize_history): Read history after reading allStu Grossman2-18/+37
init files.
1991-10-27* c-exp.y (yyerror): Pass error message if given.John Gilmore2-1/+9
* 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* blockframe.c: Pass fromleaf to INIT_EXTRA_FRAME_INFO.John Gilmore7-7/+8
* 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* buildsym.c: Break out initial malloc sizes.John Gilmore7-128/+196
(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-26* symfile.c (syms_from_bfd): New routine.John Gilmore5-49/+86
(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-26Add buildsym.c and buildsym.h.John Gilmore2-2/+10
1991-10-26Break out symbol-table-building routinesJohn Gilmore4-2595/+3099
from dbxread.c, so they can be shared with xcoffread.c.
1991-10-26 Various fixes to improve g++ debugging. See ChangeLog.Per Bothner6-98/+135
1991-10-26* tm-sparc.h, tm-68k.h (EXTRACT_RETURN_VALUE): fix output ofStu Grossman3-2/+9
short return values for sparc and 68k. Patch from Paul Eggert.
1991-10-26*** empty log message ***Stu Grossman1-0/+5
1991-10-25* coffread.c, coredep.c, i386-xdep.c: install patches forStu Grossman3-11/+18
SysV/386 3.2 from Mauro DePalma.
1991-10-25* core.c (core_file_info), exec.c (exec_file_info): Print fileJohn Gilmore2-6/+12
type. Use printf_filtered.
1991-10-25(value_fetch_lazy): Avoid 0-length fetches.John Gilmore2-2/+10
1991-10-25Add casts to remove compiler warnings from native Sun cc.Fred Fish2-2/+4
1991-10-25Remove locally duplicated code for calling functions in the inferior. TheFred Fish13-662/+116
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-25Remove local BSD/USG hacks that are now in libiberty.Fred Fish2-93/+2
1991-10-25Remove prototype for dwarfwarn(). Breaks with <varargs.h>.Fred Fish2-2/+6