From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24786 invoked by alias); 22 Apr 2004 14:30:34 -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 24733 invoked from network); 22 Apr 2004 14:30:32 -0000 Received: from unknown (HELO columba.eur.3com.com) (161.71.171.238) by sources.redhat.com with SMTP; 22 Apr 2004 14:30:32 -0000 Received: from toucana.eur.3com.com (eurelay.eur.3com.com [140.204.220.50]) by columba.eur.3com.com with ESMTP id i3MEV6uQ003640 for ; Thu, 22 Apr 2004 15:31:06 +0100 (BST) Received: from notesmta.eur.3com.com (eurmta1.EUR.3Com.COM [140.204.220.206]) by toucana.eur.3com.com with SMTP id i3MEXqAH018490 for ; Thu, 22 Apr 2004 15:33:52 +0100 (BST) Received: by notesmta.eur.3com.com(Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) id 80256E7E.004FD3B5 ; Thu, 22 Apr 2004 15:31:55 +0100 X-Lotus-FromDomain: 3COM From: "Malcolm Barrows" To: gdb@sources.redhat.com Message-ID: <80256E7E.004FD1CA.00@notesmta.eur.3com.com> Date: Thu, 22 Apr 2004 14:47:00 -0000 Subject: Run arguments Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-SW-Source: 2004-04/txt/msg00134.txt.bz2 Forgive the ignorance level for the following question I am using gdb for debugging an embedded C application. I can call numerous embedded functions and pass parameters to it, add breakpoints and step through the code - so far so good. Some of the functions return values as part of their functionality as in int MYFUNCTION ( suppliedparam, rtndparam) { some code ...... return (rtndparam) } The question is How do I get to get the value of returned parameters output to the command line. i.e in the above example I want to know what the value of rtndparam is Any pointers greatly appreciated Malcolm