From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24109 invoked by alias); 8 Jun 2009 12:00:21 -0000 Received: (qmail 24093 invoked by uid 22791); 8 Jun 2009 12:00:19 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,SARE_FREE_WEBM_RuMail,SPF_PASS X-Spam-Check-By: sourceware.org Received: from f131.mail.ru (HELO f131.mail.ru) (194.67.57.112) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Jun 2009 12:00:11 +0000 Received: from mail by f131.mail.ru with local id 1MDdWG-0002jq-00 for gdb@sourceware.org; Mon, 08 Jun 2009 16:00:04 +0400 Received: from [212.92.145.7] by win.mail.ru with HTTP; Mon, 08 Jun 2009 16:00:04 +0400 From: Dmitry Smirnov To: gdb@sourceware.org Subject: Crash in gdb Mime-Version: 1.0 Date: Mon, 08 Jun 2009 12:00:00 -0000 X-Mru-Data: 3350:1:1:79:79:0 Reply-To: Dmitry Smirnov Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00070.txt.bz2 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 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: . 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