(patch) hpjyg22: misc. 32x64 and minor changes
Jimmy Guo
guo@cup.hp.com
Thu Nov 11 14:16:00 GMT 1999
This patch contains some 32x64 fixes and minor changes. See ChangeLog:
1999-11-11 Jimmy Guo <guo@cup.hp.com>
* solib.c,osfsolib.c,irix5-nat.c: Change error string from
'No exec file' to 'No executable file'.
* solib.c (info_sharedlibrary_command): 32x64 fix.
* m2-exp.y (lex): add default case statement to capture
unhandled token and call error().
Index: gdb/solib.c
/opt/gnu/bin/diff -r -c -N /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/solib.c gdb/solib.c
*** /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/solib.c Thu Nov 11 12:59:02 1999
--- gdb/solib.c Thu Nov 11 13:02:23 1999
***************
*** 1277,1283 ****
if (exec_bfd == NULL)
{
! printf_unfiltered ("No exec file.\n");
return;
}
--- 1277,1283 ----
if (exec_bfd == NULL)
{
! printf_unfiltered ("No executable file.\n");
return;
}
***************
*** 1301,1312 ****
header_done++;
}
! printf_unfiltered ("%-*s", addr_width,
! local_hex_string_custom ((unsigned long) LM_ADDR (so),
! addr_fmt));
! printf_unfiltered ("%-*s", addr_width,
! local_hex_string_custom ((unsigned long) so->lmend,
! addr_fmt));
printf_unfiltered ("%-12s", so->symbols_loaded ? "Yes" : "No");
printf_unfiltered ("%s\n", so->so_name);
}
--- 1301,1312 ----
header_done++;
}
! printf_unfiltered ("%-12s",
! longest_local_hex_string_custom ((LONGEST) LM_ADDR (so),
! "08l"));
! printf_unfiltered ("%-12s",
! longest_local_hex_string_custom ((LONGEST) so->lmend,
! "08l"));
printf_unfiltered ("%-12s", so->symbols_loaded ? "Yes" : "No");
printf_unfiltered ("%s\n", so->so_name);
}
Index: gdb/m2-exp.y
/opt/gnu/bin/diff -r -c -N /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/m2-exp.y gdb/m2-exp.y
*** /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/m2-exp.y Thu Nov 11 13:20:45 1999
--- gdb/m2-exp.y Thu Nov 11 13:22:02 1999
***************
*** 1050,1055 ****
--- 1050,1059 ----
case LOC_LABEL:
case LOC_UNRESOLVED:
error("internal: Unforseen case in m2lex()");
+
+ default:
+ error ("unhandled token in m2lex()");
+ break;
}
}
else
Index: gdb/irix5-nat.c
/opt/gnu/bin/diff -r -c -N /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/irix5-nat.c gdb/irix5-nat.c
*** /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/irix5-nat.c Thu Nov 11 12:58:58 1999
--- gdb/irix5-nat.c Thu Nov 11 12:59:56 1999
***************
*** 983,989 ****
if (exec_bfd == NULL)
{
! printf_unfiltered ("No exec file.\n");
return;
}
while ((so = find_solib (so)) != NULL)
--- 983,989 ----
if (exec_bfd == NULL)
{
! printf_unfiltered ("No executable file.\n");
return;
}
while ((so = find_solib (so)) != NULL)
Index: gdb/osfsolib.c
/opt/gnu/bin/diff -r -c -N /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/osfsolib.c gdb/osfsolib.c
*** /view/guo.wdb.c//CLO/Components/WDB/Src/gnu/gdb/osfsolib.c Thu Nov 11 12:59:00 1999
--- gdb/osfsolib.c Thu Nov 11 13:00:24 1999
***************
*** 732,738 ****
if (exec_bfd == NULL)
{
! printf_unfiltered ("No exec file.\n");
return;
}
while ((so = find_solib (so)) != NULL)
--- 732,738 ----
if (exec_bfd == NULL)
{
! printf_unfiltered ("No executable file.\n");
return;
}
while ((so = find_solib (so)) != NULL)
More information about the Gdb-patches
mailing list