Raised This Month: $51 Target: $400
 12% 

Solved Linux server debug symbols in binary


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mehis
Senior Member
Join Date: Mar 2013
Location: basement
Old 12-06-2017 , 12:07   Linux server debug symbols in binary
Reply With Quote #1

Don't know where else to ask so I'll just ask the experts here ;)

I'm compiling my Source mod (2013 github fork) for Linux, and I'd like to keep some of the debug symbols in the server binary like Valve does, so finding vtable offsets, etc. is easier. Currently the binary has no function names at all.
Sharing a 100MB symbol file just to get offsets/sigs isn't quite what I want. I'm assuming I'll have to objcopy some of the symbols over to the binary file?

Any help is appreciated.

EDIT: Setting symbol visibility to default (SymbolVisibility=default in game/server/server_linux32_*.mak) and making sure stripping uses -x flag (devtools/makefile_base_posix.mak) seems to work.

Last edited by Mehis; 12-06-2017 at 16:25.
Mehis is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode