* breakpoint.c (breakpoint_re_set): Select a default source
authorFred Fish <fnf@specifix.com>
Sun, 23 Aug 1992 18:09:19 +0000 (18:09 +0000)
committerFred Fish <fnf@specifix.com>
Sun, 23 Aug 1992 18:09:19 +0000 (18:09 +0000)
symtab if one is not currently selected.
* utils.c (query):  Call wrap_here before building the output
query string, to turn off wrapping and flush any buffered output.
Otherwise our query may end up in the wrap buffer and never be
seen by the user.
* eval.c (evaluate_subexp):  Report error when attempting to
evaluate subscript for types without a target type, rather
than dumping core by using the NULL pointer.
* symfile.c (symbol_file_command):  Forget current_source_symtab
and current_source_line when discarding symbol table.

gdb/ChangeLog
gdb/i860-tdep.c
gdb/tm-i860.h

index d5ccc1d..e53bc21 100644 (file)
@@ -1,3 +1,17 @@
+Sun Aug 23 11:04:08 1992  Fred Fish  (fnf@cygnus.com)
+
+       * breakpoint.c (breakpoint_re_set):  Select a default source
+       symtab if one is not currently selected.
+       * utils.c (query):  Call wrap_here before building the output
+       query string, to turn off wrapping and flush any buffered output.
+       Otherwise our query may end up in the wrap buffer and never be
+       seen by the user.
+       * eval.c (evaluate_subexp):  Report error when attempting to
+       evaluate subscript for types without a target type, rather
+       than dumping core by using the NULL pointer.
+       * symfile.c (symbol_file_command):  Forget current_source_symtab
+       and current_source_line when discarding symbol table.
+
 Sat Aug 22 22:33:20 1992  John Gilmore  (gnu@cygnus.com)
 
        Bug fixes from Andrew Heybey <ath@lcs.mit.edu>.
index 3c5f940..4919866 100644 (file)
@@ -78,7 +78,7 @@ int ansi_conformant;
 extern int errno;
 extern int attach_flag;
 extern char registers[];
-static CORE_ADDR get_saved_basereg();
+CORE_ADDR get_saved_basereg();
 
 #define INSTRUCTION_LENGTH 4
 #define REGISTER_LENGTH 4
@@ -2227,3 +2227,4 @@ char *valbuf;
       write_register_bytes (REGISTER_BYTE (R16), valbuf, TYPE_LENGTH (type));
  
 }
+
index 777ba1d..b26e205 100644 (file)
@@ -470,4 +470,5 @@ i860 takes them in registers */
 /* used to indicate that the misc function vector has size information about
    misc functions -- currently true for elf format only -- mlf */
 #define MISC_FUNCTIONS_HAS_SIZE
-#define GET_BASEREG_VALUE(frame,basereg)   get_saved_basereg(frame, basereg);
+#define FRAME_GET_BASEREG_VALUE(frame,basereg)   get_saved_basereg(frame, basereg);
+