From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7386 invoked by alias); 26 Mar 2008 21:01:26 -0000 Received: (qmail 7364 invoked by uid 22791); 26 Mar 2008 21:01:20 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Mar 2008 21:00:54 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 0740F983A1; Wed, 26 Mar 2008 21:00:52 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E5C1198140; Wed, 26 Mar 2008 21:00:51 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Jecjq-0003O0-Up; Wed, 26 Mar 2008 17:00:50 -0400 Date: Wed, 26 Mar 2008 21:11:00 -0000 From: Daniel Jacobowitz To: gdb guy Cc: gdb Subject: Re: Why won't gdb stop on packed (UPX) file breakpoint at entrypoint? Message-ID: <20080326210050.GA12885@caradoc.them.org> Mail-Followup-To: gdb guy , gdb References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) 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/msg00252.txt.bz2 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