Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Dmitry Smirnov <divis1969@mail.ru>
To: gdb@sourceware.org
Subject: Crash in gdb
Date: Mon, 08 Jun 2009 12:00:00 -0000	[thread overview]
Message-ID: <E1MDdWG-0002jq-00.divis1969-mail-ru@f131.mail.ru> (raw)

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


             reply	other threads:[~2009-06-08 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08 12:00 Dmitry Smirnov [this message]
2009-06-08 15:36 Richard Earnshaw
2009-06-10 16:31 Dmitry Smirnov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1MDdWG-0002jq-00.divis1969-mail-ru@f131.mail.ru \
    --to=divis1969@mail.ru \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox