This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug objc/20501] Creating NSString convenience variable crashes GDB


https://sourceware.org/bugzilla/show_bug.cgi?id=20501

--- Comment #1 from Giah de Barag <gdb at crelg dot com> ---
IMPORTANT:

Just realized: you do not need GNUstep to reproduce the problem.

Steps to Reproduce:

% gdb -nx
(gdb) set lang objective-c
(gdb) p "foo"
$1 = <error reading variable> # error reading a c string
(gdb) p @"foo"                # crash reading an NSString

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]