From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12793 invoked by alias); 8 Dec 2003 16:53:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12785 invoked from network); 8 Dec 2003 16:53:03 -0000 Received: from unknown (HELO hall.mail.mindspring.net) (207.69.200.60) by sources.redhat.com with SMTP; 8 Dec 2003 16:53:03 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1ATOca-0008JO-00; Mon, 08 Dec 2003 11:52:32 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 555934B412; Mon, 8 Dec 2003 11:52:33 -0500 (EST) To: drow@mvista.com, fnf@ninemoons.com Subject: Re: [PATCH] - Accept optional printed address at function breakpoints Cc: gdb-patches@sources.redhat.com Message-Id: <20031208165233.555934B412@berman.michael-chastain.com> Date: Mon, 08 Dec 2003 16:53:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2003-12/txt/msg00255.txt.bz2 drow> This is a debug info bug. Your patch is not correct; when you say drow> "break LINE" or "break FUNCTION" and there is debug info, it's GDB's drow> established behavior to stop at the beginning of a line. By not drow> allowing the address we verify that GDB is stopping at the beginning of drow> a line as expected. That's right. It's a subtle way of testing that the line number information is correct. If gdb prints a machine address in addition to a line number, then either gcc has a bug in debug info output, or gdb has a bug in debug info input. Michael C