List Info

Thread: Extract debug symbols to external file




Extract debug symbols to external file
user name
2008-01-16 06:08:07
Hi to all,

how I can extract the debug symbols (extract not only copy)
from the
Project.exe file to the Project.dbg file?

Exists any simple command (or also complex)? ;)

-- 
Best regards...

Fabio Dell'Aria.

Re: Extract debug symbols to external file
country flaguser name
United States
2008-01-16 06:20:26
Fabio Dell'Aria schrieb:
> Hi to all,
> 
> how I can extract the debug symbols (extract not only
copy) from the
> Project.exe file to the Project.dbg file?
> 
> Exists any simple command (or also complex)? ;)
> 

If you use Linux you could take the strip command. But I
guess you don't  So maybe
google
for a windows-based alternative to strip.

-- 
  Markus Deuling
  GNU Toolchain for Linux on Cell BE
  deulingde.ibm.com


Re: Extract debug symbols to external file
country flaguser name
United States
2008-01-16 07:44:19
On Wed, Jan 16, 2008 at 01:20:26PM +0100, Markus Deuling
wrote:
> Fabio Dell'Aria schrieb:
>> Hi to all,
>>
>> how I can extract the debug symbols (extract not
only copy) from the
>> Project.exe file to the Project.dbg file?
>>
>> Exists any simple command (or also complex)? ;)
>>
>
> If you use Linux you could take the strip command. But
I guess you don't  So maybe
google
> for a windows-based alternative to strip.

GNU Binutils works fine on Windows.  Fabio, take a look at
--only-keep-debug and --add-gnu-debuglink.

-- 
Daniel Jacobowitz
CodeSourcery

Re: Extract debug symbols to external file
user name
2008-01-16 07:45:03
Hi Markus,

2008/1/16, Markus Deuling <deulingde.ibm.com>:
> Fabio Dell'Aria schrieb:
> > Hi to all,
> >
> > how I can extract the debug symbols (extract not
only copy) from the
> > Project.exe file to the Project.dbg file?
> >
> > Exists any simple command (or also complex)? ;)
> >
>
> If you use Linux you could take the strip command. But
I guess you don't  So maybe
google
> for a windows-based alternative to strip.

I just have the "strip" command (also under Win).


How I can use it to extract the debug symbols from the
project.exe to
project.dbg ?

-- 
Best regards...

Fabio Dell'Aria.

Re: Extract debug symbols to external file
user name
2008-01-16 09:01:44
Hi,

2008/1/16, Daniel Jacobowitz <drowfalse.org>:
> On Wed, Jan 16, 2008 at 01:20:26PM +0100, Markus
Deuling wrote:
> > Fabio Dell'Aria schrieb:
> >> Hi to all,
> >>
> >> how I can extract the debug symbols (extract
not only copy) from the
> >> Project.exe file to the Project.dbg file?
> >>
> >> Exists any simple command (or also complex)?
;)
> >>
> >
> > If you use Linux you could take the strip command.
But I guess you don't  So maybe
google
> > for a windows-based alternative to strip.
>
> GNU Binutils works fine on Windows.  Fabio, take a look
at
> --only-keep-debug and --add-gnu-debuglink.
>
> --
> Daniel Jacobowitz
> CodeSourcery

Thanks Daniel, works like a charm! 

-- 
Best regards...

Fabio Dell'Aria.

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )