This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug win32/22757] New: internal-error: Register "eax" has an unknown type "int32"
- From: "ssbssa at yahoo dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 28 Jan 2018 18:07:37 +0000
- Subject: [Bug win32/22757] New: internal-error: Register "eax" has an unknown type "int32"
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22757
Bug ID: 22757
Summary: internal-error: Register "eax" has an unknown type
"int32"
Product: gdb
Version: 8.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: win32
Assignee: unassigned at sourceware dot org
Reporter: ssbssa at yahoo dot de
Target Milestone: ---
When trying to open any file with the current gdb snapshot
(gdb-8.0.91.20180128), I get this error:
> GNU gdb (ssbssa-1) 8.0.91.20180128-git
> Copyright (C) 2018 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-w64-mingw32".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from allocer32.exe...done.
> C:/gcc/src/gdb-8.0.91.20180128/gdb/target-descriptions.c:1261: internal-error: Register "eax" has an unknown type "int32"
> A problem internal to GDB has been detected,
> further debugging may prove unreliable.
This was the stacktrace of internal_error():
> (gdb) bt
> #0 internal_verror (
> file=file@entry=0x8be4a0 <complete_target_initialization(target_ops*)::__PRETTY_FUNCTION__+800> "C:/gcc/src/gdb-8.0.91.20180128/gdb/target-descriptions.c",
> line=line@entry=1261,
> fmt=fmt@entry=0x8be514 <complete_target_initialization(target_ops*)::__PRETTY_FUNCTION__+916> "Register \"%s\" has an unknown type \"%s\"",
> ap=ap@entry=0x815f9ac "d}=\tá}=\t") at C:/gcc/src/gdb-8.0.91.20180128/gdb/utils.c:519
> #1 0x0047dbb7 in internal_error (
> file=file@entry=0x8be4a0 <complete_target_initialization(target_ops*)::__PRETTY_FUNCTION__+800> "C:/gcc/src/gdb-8.0.91.20180128/gdb/target-descriptions.c",
> line=line@entry=1261,
> fmt=fmt@entry=0x8be514 <complete_target_initialization(target_ops*)::__PRETTY_FUNCTION__+916> "Register \"%s\" has an unknown type \"%s\"")
> at C:/gcc/src/gdb-8.0.91.20180128/gdb/common/errors.c:55
> #2 0x00660163 in tdesc_register_type (gdbarch=0x9f062b8, regno=0) at C:/gcc/src/gdb-8.0.91.20180128/gdb/target-descriptions.c:1261
> #3 0x005f8ea2 in init_regcache_descr (gdbarch=0x9f062b8) at C:/gcc/src/gdb-8.0.91.20180128/gdb/regcache.c:98
> #4 0x005776b0 in gdbarch_data (gdbarch=gdbarch@entry=0x9f062b8, data=0x9ee7240) at C:/gcc/src/gdb-8.0.91.20180128/gdb/gdbarch.c:5190
> #5 0x005f9090 in regcache_descr (gdbarch=0x9f062b8) at C:/gcc/src/gdb-8.0.91.20180128/gdb/regcache.c:145
> #6 register_size (gdbarch=gdbarch@entry=0x9f062b8, regnum=regnum@entry=0) at C:/gcc/src/gdb-8.0.91.20180128/gdb/regcache.c:166
> #7 0x005fd5a3 in map_regcache_remote_table (gdbarch=gdbarch@entry=0x9f062b8, regs=0x9f06710) at C:/gcc/src/gdb-8.0.91.20180128/gdb/remote.c:754
> #8 0x005fe458 in init_remote_state (gdbarch=0x9f062b8) at C:/gcc/src/gdb-8.0.91.20180128/gdb/remote.c:825
> #9 0x005776b0 in gdbarch_data (gdbarch=0x9f062b8, data=0x9ee77e8) at C:/gcc/src/gdb-8.0.91.20180128/gdb/gdbarch.c:5190
> #10 0x005ff049 in get_remote_arch_state (gdbarch=<optimized out>) at C:/gcc/src/gdb-8.0.91.20180128/gdb/remote.c:652
> #11 0x00605bdd in get_remote_state () at C:/gcc/src/gdb-8.0.91.20180128/gdb/remote.c:665
> #12 remote_new_objfile (objfile=0x0) at C:/gcc/src/gdb-8.0.91.20180128/gdb/remote.c:13849
> #13 0x005ce783 in generic_observer_notify (args=0x815fb9c, subject=<optimized out>) at C:/gcc/src/gdb-8.0.91.20180128/gdb/observer.c:167
> #14 observer_notify_new_objfile (objfile=objfile@entry=0x0) at ./observer.inc:582
> #15 0x00639ae8 in clear_symtab_users (add_flags=...) at C:/gcc/src/gdb-8.0.91.20180128/gdb/symfile.c:2898
> #16 0x0063a0cd in finish_new_objfile (add_flags=..., objfile=0x9f19540) at C:/gcc/src/gdb-8.0.91.20180128/gdb/symfile.c:1087
> #17 symbol_file_add_with_addrs (abfd=<optimized out>, name=name@entry=0x1e1578 "allocer32.exe", add_flags=..., add_flags@entry=..., addrs=<optimized out>,
> addrs@entry=0x0, flags=flags@entry=..., parent=parent@entry=0x0) at C:/gcc/src/gdb-8.0.91.20180128/gdb/symfile.c:1219
> #18 0x0063a540 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0, add_flags=..., name=0x1e1578 "allocer32.exe", abfd=<optimized out>)
> at C:/gcc/src/gdb-8.0.91.20180128/gdb/symfile.c:1264
> #19 symbol_file_add (name=name@entry=0x1e1578 "allocer32.exe", add_flags=add_flags@entry=..., addrs=addrs@entry=0x0, flags=...)
> at C:/gcc/src/gdb-8.0.91.20180128/gdb/symfile.c:1277
> #20 0x0063a5e2 in symbol_file_add_main_1 (args=0x1e1578 "allocer32.exe", add_flags=..., flags=...) at C:/gcc/src/gdb-8.0.91.20180128/gdb/symfile.c:1300
> #21 0x005b8c18 in catch_command_errors (command=command@entry=0x5b89c0 <symbol_file_add_main_adapter(char const*, int)>,
> arg=arg@entry=0x1e1578 "allocer32.exe", from_tty=1) at C:/gcc/src/gdb-8.0.91.20180128/gdb/main.c:382
> #22 0x005b999e in captured_main_1 (context=<optimized out>) at C:/gcc/src/gdb-8.0.91.20180128/gdb/main.c:1053
> #23 captured_main (data=<optimized out>) at C:/gcc/src/gdb-8.0.91.20180128/gdb/main.c:1150
> #24 gdb_main (args=<optimized out>, args@entry=0x815feb4) at C:/gcc/src/gdb-8.0.91.20180128/gdb/main.c:1176
> #25 0x007f9b00 in main (argc=2, argv=0x1e1518) at C:/gcc/src/gdb-8.0.91.20180128/gdb/gdb.c:32
--
You are receiving this mail because:
You are on the CC list for the bug.