From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29825 invoked by alias); 27 Apr 2006 18:00:43 -0000 Received: (qmail 29816 invoked by uid 22791); 27 Apr 2006 18:00:43 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0102.google.com (HELO nz-out-0102.google.com) (64.233.162.203) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 27 Apr 2006 18:00:42 +0000 Received: by nz-out-0102.google.com with SMTP id q3so2625608nzb for ; Thu, 27 Apr 2006 11:00:40 -0700 (PDT) Received: by 10.36.4.6 with SMTP id 6mr2278334nzd; Thu, 27 Apr 2006 11:00:40 -0700 (PDT) Received: by 10.36.227.78 with HTTP; Thu, 27 Apr 2006 11:00:40 -0700 (PDT) Message-ID: <7f45d9390604271100meaec82ewe3b7182f4fe1ab40@mail.gmail.com> Date: Fri, 28 Apr 2006 13:12:00 -0000 From: "Shaun Jackman" Reply-To: "Shaun Jackman" To: gdb@sources.redhat.com Subject: x/i 0x204c5ac. seg fault MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00325.txt.bz2 VGhlIGZvbGxvd2luZyB0eXBvIGNhdXNlZCBhIHNlZyBmYXVsdDoKCkdOVSBn ZGIgNi40LjUwLjIwMDYwMjA2LWN2cwouLi4KKGdkYikgeC9pIDB4MjA0YzVh Yy4KU2VnbWVudGF0aW9uIGZhdWx0CgpTb3JyeSB0aGF0IEkgaGF2ZW4ndCB0 ZXN0ZWQgYSBtb3JlIHJlY2VudCB2ZXJzaW9uIHRoYW4gNi40LjUwLjIwMDYw MjA2LWN2cy4KCkNoZWVycywKU2hhdW4K >From gdb-return-25038-listarch-gdb=sources.redhat.com@sourceware.org Fri Apr 28 10:25:27 2006 Return-Path: Delivered-To: listarch-gdb@sources.redhat.com Received: (qmail 17127 invoked by alias); 28 Apr 2006 10:25:26 -0000 Received: (qmail 17110 invoked by uid 22791); 28 Apr 2006 10:25:25 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (217.40.213.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Apr 2006 10:25:23 +0000 Received: from mail.artimi.com ([192.168.1.3]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 28 Apr 2006 11:25:21 +0100 Received: from rainbow ([192.168.1.165]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 28 Apr 2006 11:25:20 +0100 From: "Dave Korn" To: "'Shaun Jackman'" , Subject: RE: x/i 0x204c5ac. seg fault Date: Fri, 28 Apr 2006 14:21:00 -0000 Message-ID: <007101c66aae$0d32bac0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <7f45d9390604271100meaec82ewe3b7182f4fe1ab40@mail.gmail.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Delivered-To: mailing list gdb@sourceware.org X-SW-Source: 2006-04/txt/msg00326.txt.bz2 Content-length: 1343 On 27 April 2006 19:01, Shaun Jackman wrote: > The following typo caused a seg fault: >=20 > GNU gdb 6.4.50.20060206-cvs > ... > (gdb) x/i 0x204c5ac. > Segmentation fault >=20 > Sorry that I haven't tested a more recent version than 6.4.50.20060206-cv= s. Can't reproduce with more recent cvs build on cygwin: dk@rainbow /usr/build/obj-gdb/gdb> ./gdb /bin/cat GNU gdb 6.4.50.20060329-cvs Copyright (C) 2006 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 condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) Setting up the environment for debugging gdb. No symbol table is loaded. Use the "file" command. No symbol table is loaded. Use the "file" command. /usr/build/obj-gdb/gdb/.gdbinit:8: Error in sourced command file: No breakpoint number 0. (gdb) x/i 0x204c5ac 0x204c5ac: Cannot access memory at address 0x204c5ac (gdb)=20 Why not see what happens if you cd into the 'gdb' subdir of your build tr= ee and enter ./gdb ./gdb and try that command on the inner gdb? cheers, DaveK --=20 Can't think of a witty .sigline today....