From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8085 invoked by alias); 1 Feb 2007 11:01:11 -0000 Received: (qmail 8077 invoked by uid 22791); 1 Feb 2007 11:01:11 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 01 Feb 2007 11:01:05 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 7783D21538; Thu, 1 Feb 2007 12:01:03 +0100 (CET) From: Andreas Schwab To: "Bahadir Balban" Cc: gdb@sourceware.org Subject: Re: breakpoint on non-function symbol References: <7ac1e90c0702010248r59985822td2dea302226b5ffa@mail.gmail.com> X-Yow: WHO sees a BEACH BUNNY sobbing on a SHAG RUG?! Date: Thu, 01 Feb 2007 11:01:00 -0000 In-Reply-To: <7ac1e90c0702010248r59985822td2dea302226b5ffa@mail.gmail.com> (Bahadir Balban's message of "Thu, 1 Feb 2007 10:48:39 +0000") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: 2007-02/txt/msg00004.txt.bz2 "Bahadir Balban" writes: > Is it possible to put a breakpoint on a symbol that is not a function? You can put a breakpoint at any address with the "break *ADDR" syntax. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."