+Wed Apr 27 12:22:46 1994 Steve Chamberlain (sac@cygnus.com)
+
+ * printcmd.c (print_address_symbolic): Initialize name to empty
+ string to avoid core dump if lookup fails.
+ * remote-e7000.c (printf_e7000debug): Error if target not open.
+
Tue Apr 26 22:45:24 1994 Stu Grossman (grossman at cygnus.com)
* i386-nlmstub.c: Update to be more in line with PIN stub.
struct symbol *symbol;
struct symtab *symtab = 0;
CORE_ADDR name_location = 0;
- char *name;
+ char *name = "";
/* First try to find the address in the symbol table, then
in the minsyms. Take the closest one. */
Additional note: It might be nice if "info args" displayed
both values.
- One more note: There is a case with sparc sturcture passing
+ One more note: There is a case with sparc structure passing
where we need to use the LOC_REGISTER, but this is dealt with
by creating a single LOC_REGPARM in symbol reading. */
wrap_here (" ");
if (annotation_level > 1)
- printf_filtered ("\n\032\032arg-name-begin\n");
+ printf_filtered ("\n\032\032arg-begin\n");
+
fprintf_symbol_filtered (stream, SYMBOL_SOURCE_NAME (sym),
SYMBOL_LANGUAGE (sym), DMGL_PARAMS | DMGL_ANSI);
if (annotation_level > 1)
if (annotation_level > 1)
{
- printf_filtered ("\n\032\032arg-begin ");
+ printf_filtered ("\n\032\032arg-value ");
print_value_flags (val == NULL ? NULL : VALUE_TYPE (val));
printf_filtered ("\n");
}