diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-11-27 02:18:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-11-27 02:18:44 +0000 |
commit | 1564d341916d26f75b4e77aded51af59dfd14932 (patch) | |
tree | c64f5edbc56fd5c26781078e025f9102082c8904 /gdb/solib.c | |
parent | e07a52578269b033801436d777a999560b59a2c5 (diff) | |
download | gdb-1564d341916d26f75b4e77aded51af59dfd14932.tar.gz |
* remote.c (remote_write_bytes): Add default case to switch
initializing ``todo''. Ditto for ``nr_bytes''.
* top.c (catch_errors): Always initialize ``val''.
* solib.c (info_sharedlibrary_command): Handle bfd_get_arch_size
returning an unknown size.
* gdbtypes.c (count_virtual_fns): Always initialize ``vfuncs''.
* breakpoint.c (break_at_finish_at_depth_command_1): Initialise
extra_args to NULL.
(break_at_finish_command_1): Ditto.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 288a54a4a91..b8ffaa3d11b 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -613,6 +613,11 @@ info_sharedlibrary_command (char *ignore, int from_tty) addr_width = 16 + 4; addr_fmt = "016l"; } + else + { + internal_error ("%s:%d: bfd_get_arch_size() returned unknown size %d", + __FILE__, __LINE__, arch_size); + } update_solib_list (from_tty, 0); |