aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-06 17:47:40 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-06 17:47:40 +0000
commit3149d8c1150e24222c6c41e2c0fdde42f202d750 (patch)
treec5b828d10249cebf688eb64c3b23a4e72207d23a /gdb/defs.h
parent4cc23edeb96576c3bea1a99c32cb9c83c471ac17 (diff)
downloadgdb-3149d8c1150e24222c6c41e2c0fdde42f202d750.zip
gdb-3149d8c1150e24222c6c41e2c0fdde42f202d750.tar.gz
gdb-3149d8c1150e24222c6c41e2c0fdde42f202d750.tar.bz2
2010-04-06 Stan Shebs <stan@codesourcery.com>
* defs.h (char_ptr): Move typedef here from... * ada-lang.c (char_ptr): Remove. * charset.c (char_ptr): Remove. * tracepoint.h (struct uploaded_string): Remove. (struct uploaded_tp): Use vectors for string arrays. * tracepoint.c (trace_save): Use vectors of actions. (parse_tracepoint_definition): Ditto. (get_uploaded_tp): Clear vectors. * breakpoint.c (create_tracepoint_from_upload): Use vectors. (next_cmd): Change to an int. (read_next_cmd): Use vector of command strings.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index b7fd97a..e8a1dd4 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -312,6 +312,10 @@ struct cleanup
#define ENUM_BITFIELD(TYPE) unsigned int
#endif
+/* vec.h-style vectors of strings want a typedef for char * . */
+
+typedef char * char_ptr;
+
/* Needed for various prototypes */
struct symtab;