[arch-general] Need for debug - can do i do?

Allan McRae allan at archlinux.org
Sun May 8 21:24:58 EDT 2011


On 09/05/11 11:17, rafael ff1 wrote:
> 2011/5/6 Sven-Hendrik Haase<sh at lutzhaase.com>:
>> On 07.05.2011 01:18, rafael ff1 wrote:
>>> HI there!
>>>
>>> I'm trying to update PCSX2 with some help of its dev team [1], but it
>>> is crashing all the time. According to 'gdb' output, it is somehow
>>> related to lib32-glibc, but it is omitting some information. I was
>>> hoping to be able to activate more verbosity, which AFAIK I can get by
>>> compiling it with some debug flags. [2]
>>>
>>> Is it correct or there is another better way to do it ?
>>>
>>> Thanks,
>>>
>>> Rafael.
>>>
>>>
>>> [1] http://code.google.com/p/pcsx2/issues/detail?id=1019
>>> [2] https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
>> No, that's exactly the way to do it to make gdb happy. Get it from abs
>> as always and enable debug flags.
>>
>> -- Sven-Hendrik
>>
>
> I added '-g -O1' to the CFLAGS in the PKGBUILD [1] and it seems to
> provide zero information [2], just like before compiling with debug
> flags [3]. Did I do something wrong? Any other ideas to debug this
> binary?
>

Not that the glibc PKGBUILD manually strips its files.   Commment out 
all that stuff at the end.

Allan


More information about the arch-general mailing list