[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Returværdier fra call i gdb (newbie?)



gnalle wrote:
> 
> Jeg bruger gdb i xemacs og har nogle problemer med call. Jeg vil gerne
> midt i programmet kunne hente en funktionsværdi med call. Men det går
> ikke så godt, og jeg har lidt problemer med infoteksten. Jeg har
> forfattet to testprogrammer uden det store resultat
> 
> Er det mig der ikke er så klog og/eller hvad er det der er galt?

Har du kompileret med optimering?? Prøv at kompilere med
-fno-omit-framepointer
, idet gdb bruger ebp til at rode, rundt i stakrammerne, men hvis du
bruger optimering optimerer gcc ebp væk.

Mvh Morten


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *