diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-12 00:35:54 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-14 00:41:05 -0400 |
commit | df68e12b3b3eb91e54d6d888b73049562566e0b3 (patch) | |
tree | b60781365aba1b34bacad73f34987c22615438a4 /sim/README-HACKING | |
parent | 183aaaf72a8c0643de1aab1018e23fe020e2ff79 (diff) | |
download | binutils-df68e12b3b3eb91e54d6d888b73049562566e0b3.zip binutils-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.gz binutils-df68e12b3b3eb91e54d6d888b73049562566e0b3.tar.bz2 |
sim: create header namespace
The gdb/callback.h & gdb/remote-sim.h headers have nothing to do with
gdb and are really definitions for the libsim API under the sim/ tree.
While gdb uses those headers as a client, it's not specific to it. So
create a new sim/ namespace and move the headers there.
Diffstat (limited to 'sim/README-HACKING')
-rw-r--r-- | sim/README-HACKING | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/README-HACKING b/sim/README-HACKING index 69d08ff..d4867c9 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -294,7 +294,7 @@ Userspace System Calls By default, the libgloss userspace is simulated. That means the system call numbers and calling convention matches that of libgloss. Simulating other userspaces (such as Linux) is pretty straightforward, but let's first focus -on the basics. The basic API is covered in include/gdb/callback.h. +on the basics. The basic API is covered in include/sim/callback.h. When an instruction is simulated that invokes the system call method (such as forcing a hardware trap or exception), your simulator code should set up the |