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] Report available OS data types


Stan Shebs wrote:
As a lead-in to some upcoming work on "OS awareness" for Linux GDB, here is a little patch for "info os" to return the types of data available (which is currently just "processes"), instead of erroring out.

Is this checked in? I still see:


  (gdb) info os
  Argument required.

Am I misunderstanding something?  How do you get it to list
the types available?

2010-06-14 Stan Shebs <stan@codesourcery.com>

    * osdata.c (get_osdata): Warn separately if target does not report
    type list.
    (info_osdata_command): Allow empty type, report error if target
    does not return available types of OS data.
    * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data
    types if no annex supplied.



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