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]

[PATCH 2/3] Update macOS load commands: Add LC_NOTE load command


macOS Mojave adds a couple of new load commands, one of which is the LC_NOTE command. I’ve added some support for working with this load command, basing my code on how the rest of the load commands are implemented. I couldn’t quite figure the code style out, so I made my best guess as to what it was supposed to be. Also, since I couldn’t actually find any binaries with a LC_NOTE load command to test this code on, I can't guarantee it works correctly. If anyone has actually seen this command somewhere, I’d love to get my hands on something to test on; otherwise I’ll have to hope this works and continue looking for a way to generate an appropriate executable.

Regards,
Saagar Jha

Attachment: Add-LC_NOTE-load-command.patch
Description: Binary data






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