From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29321 invoked by alias); 18 Dec 2002 13:49:27 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29313 invoked from network); 18 Dec 2002 13:49:25 -0000 Received: from unknown (HELO postfix3.ofir.com) (193.0.243.238) by sources.redhat.com with SMTP; 18 Dec 2002 13:49:25 -0000 Received: from webmail5.ofir.dk (unknown [192.168.197.25]) by postfix3.ofir.com (Postfix) with ESMTP id 7955367D33 for ; Wed, 18 Dec 2002 15:21:22 +0100 (CET) X-WM-Posted-At: webmail5.ofir.dk; Wed, 18 Dec 02 14:49:24 +0100 Date: Wed, 18 Dec 2002 05:49:00 -0000 From: James Sampson To: GDB Archive X-EXP32-SerialNo: 00002117 Subject: Debugging GDB and breaking? Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20021218142122.7955367D33@postfix3.ofir.com> X-SW-Source: 2002-12/txt/msg00272.txt.bz2 Hello I'm debugging the GDB with the GDB - Not to catch a bug, but to investigate what's going on. In that case I wan't to step through everything the GDB does when just working with it manualy. Where I am now, I've loaded a file into the GDB being debugged, and I want the other GDB to take over, so I can see what happens, when the GDB actually sets a breakpoint in this small testprogram. But when I type e.g. "break main", the control never goes back to the other GDB, so I can't see what's going on. Isn't there a command to issue a breakpoint at the next line of code instead of a obsolute position (name, address)? Or could someone tell me where to look in the source code for the functions which places a breakpoint?. Best Regards James