#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. */
{
struct section_addr_info section_addrs;
memset (§ion_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, §ion_addrs, 0, 0);
free (path_name);
}