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 gdb/20048] New: Add support for user-specified system call list


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

            Bug ID: 20048
           Summary: Add support for user-specified system call list
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: neobrainx at gmail dot com
                CC: sergiodj at redhat dot com
  Target Milestone: ---

GDB has a number of XML files that map system call numbers to names. Each
target has the corresponding XML file hardcoded, so system call name lookup
only works for targets that have support added specifically in the source code.

For other platforms (e.g. custom kernels on embedded devices), it would be
beneficial to be able to point GDB at runtime to a custom XML file describing
the system calls for the current platform.

Additionally, the remote protocol may need to be extended to allow remote stubs
to report the platform they are running on or to report the system call name
mapping directly (similar to how the reply to "qXfer:threads:read" reports
information on the currently running threads).

-- 
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]