This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/13098] New: printf "%s","": evaluation of this expressionrequires the target program to be active
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 16 Aug 2011 12:49:07 +0000
- Subject: [Bug exp/13098] New: printf "%s","": evaluation of this expressionrequires the target program to be active
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13098
Bug #: 13098
Summary: printf "%s","": evaluation of this expression requires
the target program to be active
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: exp
AssignedTo: unassigned@sourceware.org
ReportedBy: jan.kratochvil@redhat.com
Classification: Unclassified
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
$ gdb -nx -ex 'printf "%s",""' -ex q
evaluation of this expression requires the target program to be active
#0 throw_verror (error=GENERIC_ERROR, fmt=0xe92190 "evaluation of this
expression requires the target program to be active", ap=0x7fffffffd228) at
exceptions.c:400
#1 in error (string=0xe92190 "evaluation of this expression requires the
target program to be active") at utils.c:780
#2 in find_function_in_inferior (name=0xe92224 "malloc",
objf_p=0x7fffffffd360) at valops.c:178
#3 in value_allocate_space_in_inferior (len=1) at valops.c:196
#4 in allocate_space_in_inferior (len=1) at valops.c:216
#5 in value_coerce_to_target (val=0x1ff6910) at valops.c:1608
#6 in value_coerce_array (arg1=0x1ff6910) at valops.c:1644
#7 in coerce_array (arg=0x1ff6910) at value.c:3099
#8 in value_as_address (val=0x1ff6910) at value.c:2200
#9 in ui_printf (arg=0x7fffffffdf0b "\"%s\",\"\"", stream=0x1fc6c40) at
./printcmd.c:2351
#10 in printf_command (arg=0x7fffffffdf0b "\"%s\",\"\"", from_tty=1) at
./printcmd.c:2701
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.