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

info symbol can crash GDB


In some cases if the argument to info symbol isn't a number, it causes a
segmentation fault:

  (gdb) inf sym 0x8049bb8.
  Segmentation fault (core dumped)

Previously e.g GNU gdb Red Hat Linux (6.1post-1.20040607.43rh), this was
just reported as an invalid number:


  (gdb) inf sym 0x8049bb8.
  Invalid number "0x8049bb8.".

which seems a bit kinder.


-- 
Nick                                           http://www.inet.net.nz/~nickrob


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