(init.c): Add a comment.
(top.c): Remove explicit compile action.
* breakpoint.c (mention): Share code indicating location of
break/watchpoints, don't print address if addressprint is off.
* breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h
(demangle): Remove redundant declarations.
* eval.c: Remove redundant function declarations.
* objfiles.h: Cosmetic and grammatical improvements.
* TODO: Various updates.
Wed Jun 29 18:53:36 1994 Stan Shebs (shebs@andros.cygnus.com)
+ * Makefile.in (dcache_h): Remove redundant definition.
+ (init.c): Add a comment.
+ (top.c): Remove explicit compile action.
+ * breakpoint.c (mention): Share code indicating location of
+ break/watchpoints, don't print address if addressprint is off.
+ * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h
+ (demangle): Remove redundant declarations.
+ * eval.c: Remove redundant function declarations.
+ * objfiles.h: Cosmetic and grammatical improvements.
+ * TODO: Various updates.
+
* remote-mips.c: Replace all \r chars with \015.
(mips_receive_header): Display control characters readably.
(mips_xfer_memory): Add a simple progress display.
The prompt at end of screen should accept space as well as CR.
-"List" should put you into a pseudo-"more" where you can hit space to
-get more, forever to eof. (questionable--you can already hit return
-to get more, and modal user interfaces are evil -kingdon, 28 Oct
-1993).
-
Check STORE_RETURN_VALUE on all architectures. Check near it in tm-sparc.h
for other bogosities.
"x/10i" should shorten the long name, if any, on subsequent lines.
Check through the code for FIXME comments and fix them. dbxread.c,
-blockframe.c, and plenty more.
+blockframe.c, and plenty more. (I count 634 as of 940621 - sts)
"next" over a function that longjumps, never stops until next time you happen
to get to that spot by accident. E.g. "n" over execute_command which has
in a dynamic linking environment. Should remember the last copy loaded,
but not get too snowed if it finds references to the older copy.
-The original BFD core dump reading routine would itself coredump when fed
-a garbage file as a core file. Does the current one?
-
Generalize and Standardize the RPC interface to a target program,
improve it beyond the "ptrace" interface, and see if it can become a
standard for remote debugging.
Possible feature: A version of the "disassemble" command which shows
both source and assembly code ("set symbol-filename on" is a partial
solution).
+
+xcoffexec.c should be eliminated, contents going into either exec.c
+or rs6000-nat.c.
+
#include <string.h>
#include <errno.h>
-extern int demangle; /* whether to print C++ syms raw or source-form */
-
static void
c_type_print_args PARAMS ((struct type *, GDB_FILE *));
/* BEGIN-FIXME */
extern int vtblprint; /* Controls printing of vtbl's */
-extern int demangle; /* whether to print C++ syms raw or src-form */
extern void
cp_print_class_member PARAMS ((char *, struct type *, GDB_FILE *, char *));
int arg_mode;
int level;
{
- extern int demangle;
char *demangled_name = NULL;
if (funcname == NULL)
/* Definitions for symbol file management in GDB.
- Copyright (C) 1992 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
This file is part of GDB.
/* This structure maintains information on a per-objfile basis about the
"entry point" of the objfile, and the scope within which the entry point
exists. It is possible that gdb will see more than one objfile that is
- executable, each with it's own entry point.
+ executable, each with its own entry point.
For example, for dynamically linked executables in SVR4, the dynamic linker
code is contained within the shared C library, which is actually executable
};
-
/* Sections in an objfile.
It is strange that we have both this notion of "sections"
/* Defines for the objfile flag word. */
/* Gdb can arrange to allocate storage for all objects related to a
- particular objfile in a designated section of it's address space,
+ particular objfile in a designated section of its address space,
managed at a low level by mmap() and using a special version of
malloc that handles malloc/free/realloc on top of the mmap() interface.
This allows the "internal gdb state" for a particular objfile to be
/* Declarations for functions defined in objfiles.c */
-extern struct objfile *allocate_objfile PARAMS ((bfd *, int));
+extern struct objfile *
+allocate_objfile PARAMS ((bfd *, int));
-int build_objfile_section_table PARAMS ((struct objfile *));
+extern int
+build_objfile_section_table PARAMS ((struct objfile *));
-extern void unlink_objfile PARAMS ((struct objfile *));
+extern void
+unlink_objfile PARAMS ((struct objfile *));
-extern void free_objfile PARAMS ((struct objfile *));
+extern void
+free_objfile PARAMS ((struct objfile *));
extern void
free_all_objfiles PARAMS ((void));
(obj) != NULL? ((nxt)=(obj)->next,1) :0; \
(obj) = (nxt))
-
/* Traverse all symtabs in one objfile. */
#define ALL_OBJFILE_SYMTABS(objfile, s) \
#define ALL_OBJFILE_MSYMBOLS(objfile, m) \
for ((m) = (objfile) -> msymbols; SYMBOL_NAME(m) != NULL; (m)++)
-
/* Traverse all symtabs in all objfiles. */
#define ALL_SYMTABS(objfile, s) \