From MAILER-DAEMON Tue Jul 17 11:53:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SrA5m-0007qe-09
	for mharc-gdb@gnu.org; Tue, 17 Jul 2012 11:53:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39090)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1Sr8NF-0005xp-EH
	for Gdb@gnu.org; Tue, 17 Jul 2012 10:03:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1Sr8N7-0004AA-Nc
	for Gdb@gnu.org; Tue, 17 Jul 2012 10:03:37 -0400
Received: from sam.nabble.com ([216.139.236.26]:40329)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1Sr8N7-0004A5-It
	for Gdb@gnu.org; Tue, 17 Jul 2012 10:03:29 -0400
Received: from telerig.nabble.com ([192.168.236.162])
	by sam.nabble.com with esmtp (Exim 4.72)
	(envelope-from <bounces@nabble.com>) id 1Sr8N6-0004Pp-Ry
	for Gdb@gnu.org; Tue, 17 Jul 2012 07:03:28 -0700
Message-ID: <34173845.post@talk.nabble.com>
Date: Tue, 17 Jul 2012 07:03:28 -0700 (PDT)
From: RenatoLima <rlima11@hotmail.com>
To: Gdb@gnu.org
Subject: Address syscall functions (HPUX)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: rlima11@hotmail.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 216.139.236.26
X-Mailman-Approved-At: Tue, 17 Jul 2012 11:53:41 -0400
X-BeenThere: gdb@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Discussion list for gdb, the GNU source debugger." <gdb.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/gdb>,
	<mailto:gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/gdb>
List-Post: <mailto:gdb@gnu.org>
List-Help: <mailto:gdb-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/gdb>,
	<mailto:gdb-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2012 14:03:47 -0000


Hello,
  I am using GDB 7.4.1 under HPUX 11.23 (IA64) ("This GDB was configured as
"ia64-hp-hpux11.23"."). I am trying to obtain the address of syscalls but I
am not able to in HPUX...In linux, I would use the following commands:

*LINUX
(gdb) p exit
$2 = {<text variable, no debug info>} 0x9a9b70 <exit>

*In HP-UX I get:
(gdb) p exit
No symbol "exit" in current context.

Any input would be appreciated. Thank you.
-- 
View this message in context: http://old.nabble.com/Address-syscall-functions-%28HPUX%29-tp34173845p34173845.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.



From MAILER-DAEMON Tue Jul 17 11:53:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SrA5o-0007uv-4i
	for mharc-gdb@gnu.org; Tue, 17 Jul 2012 11:53:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46918)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1Sr8wU-0001Ej-6b
	for Gdb@gnu.org; Tue, 17 Jul 2012 10:40:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1Sr8wI-0006Aa-JF
	for Gdb@gnu.org; Tue, 17 Jul 2012 10:40:01 -0400
Received: from sam.nabble.com ([216.139.236.26]:45632)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1Sr8wI-0006AV-EQ
	for Gdb@gnu.org; Tue, 17 Jul 2012 10:39:50 -0400
Received: from telerig.nabble.com ([192.168.236.162])
	by sam.nabble.com with esmtp (Exim 4.72)
	(envelope-from <bounces@nabble.com>) id 1Sr8wH-00018B-PJ
	for Gdb@gnu.org; Tue, 17 Jul 2012 07:39:49 -0700
Message-ID: <34173845.post@talk.nabble.com>
Date: Tue, 17 Jul 2012 07:39:49 -0700 (PDT)
From: RenatoLima <rlima11@hotmail.com>
To: Gdb@gnu.org
Subject: Address syscall functions (HPUX)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: rlima11@hotmail.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 216.139.236.26
X-Mailman-Approved-At: Tue, 17 Jul 2012 11:53:42 -0400
X-BeenThere: gdb@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Discussion list for gdb, the GNU source debugger." <gdb.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/gdb>,
	<mailto:gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/gdb>
List-Post: <mailto:gdb@gnu.org>
List-Help: <mailto:gdb-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/gdb>,
	<mailto:gdb-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2012 14:40:11 -0000


Hello,
  I am using GDB 7.4.1 under HPUX 11.23 (IA64) ("This GDB was configured as
"ia64-hp-hpux11.23"."). I am trying to obtain the address of syscalls but I
am not able to in HPUX...In linux, I would use the following commands:

*LINUX
(gdb) p exit
$2 = {<text variable, no debug info>} 0x9a9b70 <exit>

*In HP-UX I get:
(gdb) p exit
No symbol "exit" in current context.

Any input would be appreciated. Thank you.

PS: If I load libc directly into the debugger ($ gdb
/usr/lib/hpux32/libc.so.1), I can find it...
(gdb) p exit
$1 = {<text variable, no debug info>} 0x416aee0 <exit>, but shouldn't it be
into the process memory 
space as well ? 

Thanks
-- 
View this message in context: http://old.nabble.com/Address-syscall-functions-%28HPUX%29-tp34173845p34173845.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.



From MAILER-DAEMON Thu Jul 26 13:14:23 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SuRdn-0001S8-2V
	for mharc-gdb@gnu.org; Thu, 26 Jul 2012 13:14:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45176)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SuRdi-0001S1-5a
	for Gdb@gnu.org; Thu, 26 Jul 2012 13:14:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SuRdc-0005oN-7U
	for Gdb@gnu.org; Thu, 26 Jul 2012 13:14:18 -0400
Received: from sam.nabble.com ([216.139.236.26]:44291)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SuRdc-0005oF-2q
	for Gdb@gnu.org; Thu, 26 Jul 2012 13:14:12 -0400
Received: from telerig.nabble.com ([192.168.236.162])
	by sam.nabble.com with esmtp (Exim 4.72)
	(envelope-from <bounces@nabble.com>) id 1SuRdb-000704-CA
	for Gdb@gnu.org; Thu, 26 Jul 2012 10:14:11 -0700
Message-ID: <34216676.post@talk.nabble.com>
Date: Thu, 26 Jul 2012 10:14:11 -0700 (PDT)
From: icegood <icegood1980@gmail.com>
To: Gdb@gnu.org
Subject: display command
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: icegood1980@gmail.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 216.139.236.26
X-BeenThere: gdb@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Discussion list for gdb, the GNU source debugger." <gdb.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/gdb>,
	<mailto:gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/gdb>
List-Post: <mailto:gdb@gnu.org>
List-Help: <mailto:gdb-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/gdb>,
	<mailto:gdb-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2012 17:14:22 -0000


Have GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04.
Display command doesn't work at all. Nothing displayed thought no errors
returned.
Print command works, so at least stdout (or whatever) is OK.
Am i specific or is it well-known issue?
-- 
View this message in context: http://old.nabble.com/display-command-tp34216676p34216676.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.



