From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18080 invoked by alias); 14 Dec 2006 01:51:35 -0000 Received: (qmail 18062 invoked by uid 22791); 14 Dec 2006 01:51:34 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.189) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Dec 2006 01:51:23 +0000 Received: by nf-out-0910.google.com with SMTP id p77so711781nfc for ; Wed, 13 Dec 2006 17:51:20 -0800 (PST) Received: by 10.82.172.15 with SMTP id u15mr160075bue.1166061079430; Wed, 13 Dec 2006 17:51:19 -0800 (PST) Received: by 10.82.150.7 with HTTP; Wed, 13 Dec 2006 17:51:19 -0800 (PST) Message-ID: <77d8667c0612131751v2913b5d3l31f5d14fd94cdf40@mail.gmail.com> Date: Thu, 14 Dec 2006 01:51:00 -0000 From: "Luo Yi" To: gdb@sourceware.org Subject: How can I define the breakpoint-commands in my gdbinit file MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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: 2006-12/txt/msg00120.txt.bz2 How can I define the breakpoint-commands in my gdbinit file ? define b1 b *0x805d3bf commands silent printf "ne, eax = %x\n", $eax end <<< ------------ end the commands need a end instruction which can't appear in the middle of the gdbinit file.