This is the mail archive of the gdb-patches@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]

Re: [PATCH] Print nonexisting/optimized out static fields gracefully.


On 10/11/2013 02:25 AM, Pedro Alves wrote:
After the patch:

  (gdb) p sss
  $1 = {static aaa = <optimized out>}
  (gdb) p sss.aaa
  field aaa is nonexistent or has been optimized out

Does this message above still exist?

  (gdb) p sss.aaa
  $2 = <optimized out>


--
Yao (éå)


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