From 0f71a2f66f83f4c7ac139fa8d33ab882362fe861 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 14 Jun 1999 18:08:47 +0000 Subject: import gdb-1999-06-14 snapshot --- gdb/parse.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gdb/parse.c') diff --git a/gdb/parse.c b/gdb/parse.c index a18e521..6f5a93e 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -1360,6 +1360,17 @@ _initialize_parse () build_parse (); + /* FIXME - For the moment, handle types by swapping them in and out. + Should be using the per-architecture data-pointer and a large + struct. */ + register_gdbarch_swap (&msym_text_symbol_type, sizeof (msym_text_symbol_type), NULL); + register_gdbarch_swap (&msym_data_symbol_type, sizeof (msym_data_symbol_type), NULL); + register_gdbarch_swap (&msym_unknown_symbol_type, sizeof (msym_unknown_symbol_type), NULL); + + register_gdbarch_swap (&num_std_regs, sizeof (std_regs), NULL); + register_gdbarch_swap (&std_regs, sizeof (std_regs), NULL); + register_gdbarch_swap (NULL, 0, build_parse); + add_show_from_set ( add_set_cmd ("expressiondebug", class_maintenance, var_zinteger, (char *)&expressiondebug, -- cgit v1.1