This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crash in gdb


Hi,

I had encountered a problem with running gdb-6.8.50.20090603.
It is configured as ./configure --target arm-elf --with-x=no --disable-tui
I would like to note that there no such a problem with gdb-6.8.50.20090412 or gdb-6.8.50.20080630.

I have tried to simulate CDT's commands with interpreter-exec to check what happens:

GNU gdb (GDB) 6.8.50.20090603
Copyright (C) 2009 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 "--host=i686-pc-cygwin --target=arm-elf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Setting up the environment for debugging gdb.
No symbol table is loaded.  Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; i
nput not from terminal]
No symbol table is loaded.  Use the "file" command.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; i
nput not from terminal]
/cygdrive/d/Install/GDB/gdb-6.8.50.20090603/gdb/.gdbinit:8: Error in sourced com
mand file:
No breakpoint number 0.
(gdb) file /cygdrive/c/p4/views/my.elf
warning: unknown ARM EABI version 0x2000000
warning: unknown ARM EABI version 0x2000000
Reading symbols from /cygdrive/c/p4/views/my.elf.
..warning: Loadable segment "INTERNAL_BOOT_RAM_1" outside of ELF segments
warning: Loadable segment "INTERNAL_BOOT_RAM_2" outside of ELF segments
warning: Loadable segment "FILL_PAD_4" outside of ELF segments
done.
(gdb) help interpreter-exec
Execute a command in an interpreter.  It takes two arguments:
The first argument is the name of the interpreter to use.
The second argument is the command to execute.

(gdb) interpreter-exec mi "-gdb-set auto-solib-add on"
^done
(gdb)
(gdb) interpreter-exec mi "-environment-directory C:/p4/views"
^done,source-path="C:/p4/views:$cdir:$cwd"
(gdb)
(gdb) interpreter-exec mi "-target-select remote localhost:1234"
&"warning: unknown ARM EABI version 0x2000000\n"
^connected,frame={addr="0xffff0000",func="??",args=[]}
(gdb)
(gdb) interpreter-exec mi "-break-insert -t tmc_init"
&"During symbol reading, DW_AT_type missing from DW_TAG_subrange_type.\n"
      5 [main] gdb 3044 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIO
LATION
   5967 [main] gdb 3044 open_stackdumpfile: Dumping stack trace to gdb.exe.stack
dump


Is there any chance to fix this?

Dmitry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]