aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-10-14 23:44:13 +0000
committerJason Molenda <jmolenda@apple.com>1998-10-14 23:44:13 +0000
commit879c041771ae0fcd6a58373b926c31df992af1ab (patch)
tree4d1ba0c8d464a28ed36382223c68100028909810 /gdb/values.c
parentaad579b0308d17e8d0ae39b2c175a926531f7378 (diff)
downloadgdb-879c041771ae0fcd6a58373b926c31df992af1ab.zip
gdb-879c041771ae0fcd6a58373b926c31df992af1ab.tar.gz
gdb-879c041771ae0fcd6a58373b926c31df992af1ab.tar.bz2
1998-10-14 Jason Molenda (jsm@bugshack.cygnus.com)
* defs.h: Move _initialize_printcmd, _initialize_stack, _initialize_blockframe out of here and in to their respective .c files. * blockframe.c: Move _initialize_blockframe prototype to here. * printcmd.c: Move _initialize_printcmd prototype to here. * stack.c: Move _initialize_stack prototype to here. * source.c, symtab.h: Move _initialize_source prototype to the .c file. * values.c, value.h: Move _initialize_values prototype to the .c file. * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c file. * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype to the .c file. * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c: Standardize comments for the prototype section of these files. * configure.in: Look in libc for wctype before looking for it in libc. The last one is to fix the GNU ld (~2.9.1) + Solaris 2.6 interaction problem where an empty stub library (libw) causes a core dump when we call vasprintf (e.g. `info br') in the final linked gdb.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/values.c b/gdb/values.c
index 7b1b732..efa6f40 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -1,5 +1,5 @@
/* Low level packing and unpacking of values for GDB, the GNU Debugger.
- Copyright 1986, 1987, 1989, 1991, 1993, 1994, 1995, 1996, 1997
+ Copyright 1986, 87, 89, 91, 93, 94, 95, 96, 97, 1998
Free Software Foundation, Inc.
This file is part of GDB.
@@ -32,7 +32,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "scm-lang.h"
#include "demangle.h"
-/* Local function prototypes. */
+/* Prototypes for exported functions. */
+
+void _initialize_values PARAMS ((void));
+
+/* Prototypes for local functions. */
static value_ptr value_headof PARAMS ((value_ptr, struct type *,
struct type *));