* gdb.texinfo: Fix typo, $bpnum is set to last breakpoint number.
[deliverable/binutils-gdb.git] / gdb / cxux-nat.c
index 9db528a06b936e02c4b0f99b888d9fef0d0d30b6..93ed232770c067fd51c09b2cf660cba48aeff274 100644 (file)
@@ -281,6 +281,9 @@ m88k_register_u_addr (blockend, regnum)
 
 #include <sys/procfs.h>
 
+/* Prototypes for supply_gregset etc. */
+#include "gregset.h"
+
 /*  Given a pointer to a general register set in /proc format (gregset_t *),
    unpack the register contents and supply them as gdb's idea of the current
    register values. */
@@ -386,7 +389,8 @@ add_shared_symbol_files ()
            {
              struct section_addr_info section_addrs;
              memset (&section_addrs, 0, sizeof (section_addrs));
-             section_addrs.text_addr = lms.l_addr;
+             section_addrs.other[0].addr = lms.l_addr;
+              section_addrs.other[0].name = ".text";
              symbol_file_add (path_name, 1, &section_addrs, 0, 0);
              free (path_name);
            }
This page took 0.024259 seconds and 4 git commands to generate.