* 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.
This commit is contained in:
Stan Shebs 1994-06-30 02:51:50 +00:00
parent 7d13174e08
commit 054308add9
6 changed files with 27 additions and 23 deletions

View File

@ -1,5 +1,16 @@
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.

View File

@ -139,11 +139,6 @@ it matches the source line indicated.
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.
@ -161,7 +156,7 @@ actually caused it to die.
"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
@ -240,9 +235,6 @@ Handle free_named_symtab to cope with multiply-loaded object files
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.
@ -338,3 +330,7 @@ does). For ebmon, use ^Ak.
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.

View File

@ -36,8 +36,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#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 *));

View File

@ -30,7 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* 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 *));

View File

@ -411,7 +411,6 @@ energize_annotate_function(funcname, arg_mode, level)
int arg_mode;
int level;
{
extern int demangle;
char *demangled_name = NULL;
if (funcname == NULL)

View File

@ -1,5 +1,5 @@
/* 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.
@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* 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
@ -123,7 +123,6 @@ struct entry_info
};
/* Sections in an objfile.
It is strange that we have both this notion of "sections"
@ -327,7 +326,7 @@ struct objfile
/* 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
@ -371,13 +370,17 @@ extern struct objfile *object_files;
/* 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));
@ -411,7 +414,6 @@ find_pc_section PARAMS((CORE_ADDR pc));
(obj) != NULL? ((nxt)=(obj)->next,1) :0; \
(obj) = (nxt))
/* Traverse all symtabs in one objfile. */
#define ALL_OBJFILE_SYMTABS(objfile, s) \
@ -427,7 +429,6 @@ find_pc_section PARAMS((CORE_ADDR pc));
#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) \