Package: gdb Version: 6.3-6 I found that reproducible internal-error of gdb on IA64.
% cat t.c void f(void *a, void *b) { exit(0); } static volatile int v000, v001, v002, v003, v004, v005, v006, v007, v008, v009, v010, v011, v012, v013, v014, v015, v016, v017, v018, v019, v020, v021, v022, v023, v024, v025, v026, v027, v028, v029, v030, v031, v032, v033, v034, v035, v036, v037, v038, v039, v040, v041, v042, v043, v044, v045, v046, v047, v048, v049, v050, v051, v052, v053, v054, v055, v056, v057, v058, v059, v060, v061, v062, v063, v064, v065, v066, v067, v068, v069, v070, v071, v072, v073, v074, v075, v076, v077, v078, v079, v080, v081, v082, v083, v084, v085, v086, v087, v088, v089, v090, v091, v092, v093, v094, v095, v096, v097, v098, v099, v100, v101, v102, v103, v104, v105, v106, v107, v108, v109, v110, v111, v112, v113, v114, v115, v116, v117, v118, v119, v120, v121, v122; int zero = 0; void g(void *arg1, void *arg2) { if (zero) { v000 = v001 = v002 = v003 = v004 = v005 = v006 = v007 = v008 = v009 = v010 = v011 = v012 = v013 = v014 = v015 = v016 = v017 = v018 = v019 = v020 = v021 = v022 = v023 = v024 = v025 = v026 = v027 = v028 = v029 = v030 = v031 = v032 = v033 = v034 = v035 = v036 = v037 = v038 = v039 = v040 = v041 = v042 = v043 = v044 = v045 = v046 = v047 = v048 = v049 = v050 = v051 = v052 = v053 = v054 = v055 = v056 = v057 = v058 = v059 = v060 = v061 = v062 = v063 = v064 = v065 = v066 = v067 = v068 = v069 = v070 = v071 = v072 = v073 = v074 = v075 = v076 = v077 = v078 = v079 = v080 = v081 = v082 = v083 = v084 = v085 = v086 = v087 = v088 = v089 = v090 = v091 = v092 = v093 = v094 = v095 = v096 = v097 = v098 = v099 = v100 = v101 = v102 = v103 = v104 = v105 = v106 = v107 = v108 = v109 = v110 = v111 = v112 = v113 = v114 = v115 = v116 = v117 = v118 = v119 = v120 = v121 = v122 = 0; v000 = v001 = v002 = v003 = v004 = v005 = v006 = v007 = v008 = v009 = v010 = v011 = v012 = v013 = v014 = v015 = v016 = v017 = v018 = v019 = v020 = v021 = v022 = v023 = v024 = v025 = v026 = v027 = v028 = v029 = v030 = v031 = v032 = v033 = v034 = v035 = v036 = v037 = v038 = v039 = v040 = v041 = v042 = v043 = v044 = v045 = v046 = v047 = v048 = v049 = v050 = v051 = v052 = v053 = v054 = v055 = v056 = v057 = v058 = v059 = v060 = v061 = v062 = v063 = v064 = v065 = v066 = v067 = v068 = v069 = v070 = v071 = v072 = v073 = v074 = v075 = v076 = v077 = v078 = v079 = v080 = v081 = v082 = v083 = v084 = v085 = v086 = v087 = v088 = v089 = v090 = v091 = v092 = v093 = v094 = v095 = v096 = v097 = v098 = v099 = v100 = v101 = v102 = v103 = v104 = v105 = v106 = v107 = v108 = v109 = v110 = v111 = v112 = v113 = v114 = v115 = v116 = v117 = v118 = v119 = v120 = v121 = v122 = 0; } f(&arg1, arg2); } int main(int argc, char **argv) { g(0, 0); return 0; } % gcc -O2 -g t.c % gdb a.out GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ia64-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) break f Breakpoint 1 at 0x40000000000007a0: file t.c, line 4. (gdb) run Starting program: /tmp/b/a.out Breakpoint 1, f (a=0x4000000000001a30, b=0xc000000000002c60) at t.c:4 4 exit(0); (gdb) bt #0 f (a=0x4000000000001a30, b=0xc000000000002c60) at t.c:4 #1 0x4000000000001a30 in g (arg1=0x0, arg2= /build/buildd/gdb-6.3/gdb/doublest.c:662: internal-error: floatformat_from_type: Assertion `TYPE_CODE (type) == TYPE_CODE_FLT' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y /build/buildd/gdb-6.3/gdb/doublest.c:662: internal-error: floatformat_from_type: Assertion `TYPE_CODE (type) == TYPE_CODE_FLT' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y zsh: abort (core dumped) gdb a.out % ls a.out core t.c % which gdb /usr/bin/gdb % gdb /usr/bin/gdb core GNU gdb 6.3-debian Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ia64-linux"...(no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `gdb a.out'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libreadline.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libreadline.so.4 Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.5 Reading symbols from /lib/tls/libm.so.6.1...(no debugging symbols found)...done. Loaded symbols for /lib/tls/libm.so.6.1 Reading symbols from /lib/tls/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/tls/libdl.so.2 Reading symbols from /lib/tls/libc.so.6.1... (no debugging symbols found)...done. Loaded symbols for /lib/tls/libc.so.6.1 Reading symbols from /lib/ld-linux-ia64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux-ia64.so.2 Reading symbols from /lib/tls/libthread_db.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/tls/libthread_db.so.1 Reading symbols from /lib/libthread_db.so.1...(no debugging symbols found)...done. Loaded symbols for /lib/libthread_db.so.1 Reading symbols from /usr/lib/libunwind-ia64.so... (no debugging symbols found)...done. Loaded symbols for /usr/lib/libunwind-ia64.so Reading symbols from /lib/libunwind.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libunwind.so.7 #0 0x200000000024ad80 in raise () from /lib/tls/libc.so.6.1 (gdb) bt #0 0x200000000024ad80 in raise () from /lib/tls/libc.so.6.1 #1 0x200000000024d600 in abort () from /lib/tls/libc.so.6.1 #2 0x400000000005a9d0 in error_init () #3 0x400000000005ad50 in internal_verror () #4 0x400000000005add0 in internal_error () #5 0x4000000000291350 in floatformat_from_type () #6 0x4000000000291790 in convert_typed_floating () #7 0x400000000006dfc0 in ia64_write_pc () #8 0x40000000001aa990 in gdbarch_register_to_value () #9 0x400000000011d5a0 in value_from_register () #10 0x400000000021b7c0 in _initialize_stabsread () #11 0x400000000011cfb0 in read_var_value () #12 0x400000000018bfb0 in print_stack_frame () #13 0x400000000018c2c0 in print_stack_frame () #14 0x40000000000550e0 in catch_exceptions_with_msg () #15 0x4000000000054dc0 in throw_exception () #16 0x4000000000055180 in catch_errors () #17 0x400000000018d3c0 in print_frame_info () #18 0x400000000018c4b0 in print_frame_info () #19 0x400000000018ef40 in parse_frame_specification () #20 0x400000000018f640 in parse_frame_specification () #21 0x40000000000c40a0 in _initialize_cli_dump () #22 0x40000000000c8580 in cmd_func () #23 0x4000000000055c00 in execute_command () #24 0x400000000019dab0 in async_disable_stdin () #25 0x400000000019e690 in async_disable_stdin () #26 0x200000000007dd60 in rl_callback_read_char () from /lib/libreadline.so.4 #27 0x400000000019c8b0 in delete_timer () #28 0x400000000019d7c0 in stdin_event_handler () #29 0x400000000019b350 in delete_file_handler () #30 0x400000000019a410 in standard_macro_lookup () #31 0x400000000019a510 in gdb_do_one_event () #32 0x40000000000550e0 in catch_exceptions_with_msg () #33 0x4000000000054dc0 in throw_exception () #34 0x4000000000055180 in catch_errors () #35 0x40000000000e5460 in _initialize_tui_hooks () #36 0x4000000000195820 in current_interp_command_loop () #37 0x4000000000040dc0 in main () (gdb) quit % gcc -v Reading specs from /usr/lib/gcc-lib/ia64-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --with-system-libunwind --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc ia64-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) % which gcc /usr/bin/gcc % dpkg -l|egrep ' gdb | gcc ' ii gcc 3.3.5-3 The GNU C compiler ii gdb 6.3-6 The GNU Debugger % cat /etc/debian_version 3.1 -- Tanaka Akira -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]