The values and names of local variables are the data I require, so the
answer is more like 'no', right?

Olga

2010/4/28 Maxim Kartashev <[email protected]>:
> Short answer is yes.
>
> Long answer is longer:
> 1. Use *latest* version of
>  - compiler that generates debug info (-g -O)
>  - dbx that reads and processes it
> 2. Expect certain limitations (such as inability to print arbitrary local 
> variable)
> 3. See `help optimized-code' in dbx
>
> ольга крыжановская wrote:
>> Does dbx have an option to debug optimized Sun Studio code at source level?
>>
>> Olga
>



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`
_______________________________________________
tools-compilers mailing list
[email protected]

Reply via email to