From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18778 invoked by alias); 26 Mar 2008 21:09:59 -0000 Received: (qmail 18770 invoked by uid 22791); 26 Mar 2008 21:09:59 -0000 X-Spam-Check-By: sourceware.org Received: from gv-out-0910.google.com (HELO gv-out-0910.google.com) (216.239.58.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Mar 2008 21:09:37 +0000 Received: by gv-out-0910.google.com with SMTP id n40so947889gve.39 for ; Wed, 26 Mar 2008 14:09:34 -0700 (PDT) Received: by 10.150.148.7 with SMTP id v7mr330429ybd.95.1206565773360; Wed, 26 Mar 2008 14:09:33 -0700 (PDT) Received: by 10.150.215.20 with HTTP; Wed, 26 Mar 2008 14:09:33 -0700 (PDT) Message-ID: Date: Wed, 26 Mar 2008 21:14:00 -0000 From: "gdb guy" To: "gdb guy" , gdb Subject: Re: Why won't gdb stop on packed (UPX) file breakpoint at entrypoint? In-Reply-To: <20080326210050.GA12885@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080326210050.GA12885@caradoc.them.org> 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: 2008-03/txt/msg00253.txt.bz2 I get the following error. (gdb) x/2i 0xc07fd0 0xc07fd0: Cannot access memory at address 0xc07fd0 Gary Guy On Wed, Mar 26, 2008 at 5:00 PM, Daniel Jacobowitz wrote: > On Wed, Mar 26, 2008 at 04:57:02PM -0400, gdb guy wrote: > > (gdb) b *0xc07fd0 > > Breakpoint 1 at 0xc07fd0 > > (gdb) r > > Known bug (well, sort of a bug, sort of a feature) in GDB. Use x/2i > 0xc07fd0 and set the breakpoint at the second instruction. > > > Also, just for my own benefit, and those who google after me, on GDB > > 6.3 (which I have on another older VM) what does DSO stand for when it > > says "Loading system supplied DSO at 0xc00000"? > > Dynamic Shared Object. Google for vDSO. > > -- > Daniel Jacobowitz > CodeSourcery >