Project

General

Profile

Bug #11088

gdb syscall tables represent Solaris 11, and not illumos

Added by Rich Lowe 27 days ago. Updated 21 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2019-05-30
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

GDB has system call table knowledge, the tables currently patched in are those of Solaris 11 (or perhaps 11.1) presumably from an Oracle upstream.
They are wrong for illumos, they should be the illumos values as from sys/syscall.h

Notably, open(2) and friends are missing, where Oracle removed them. I would not be surprised if there were other problems where code was taken from upstream unwarily, amid the 200,000 lines of patches.

It might be an easier long-term fix to update GDB from the Oracle userland tree's version of GDB 8, and this time explicitly pay attention to checking the changes in the patches are correct for illumos.

History

#1

Updated by Alexander Pyhalov 21 days ago

  • Status changed from New to Resolved

Also available in: Atom PDF