This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug varobj/14734] New: Response for "-var-update --all-values *"contains incorrect changelist in case the evaluation causes SIGSEGV


http://sourceware.org/bugzilla/show_bug.cgi?id=14734

             Bug #: 14734
           Summary: Response for "-var-update --all-values *" contains
                    incorrect changelist in case the evaluation causes
                    SIGSEGV
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: varobj
        AssignedTo: unassigned@sourceware.org
        ReportedBy: nikolay.koldunov@oracle.com
    Classification: Unclassified


Steps to reproduce:
 - create and compile a C++ sample
 - execute GDB with "--interpreter mi" parameter
 - start debugging session
 - create a variable object which causes segmentation fault
 - make GDB update all variable objects (-var-update --all-values *)

Actual result:
 - GDB generates incorrect response containing information about the
segmentation fault error (for example,
'23^done,changelist=[reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
fault",frame={addr="0x00007ffff74982e1",func="__strlen_sse2_pminub",args=[],file="../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S",line="39"},reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation
fault",frame={addr="0x00007ffff74982e1",func="__strlen_sse2_pminub",args=[],file="../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S",line="39"}]')

Expected result:
 - GDB shows valid changelist and generates a segmentation fault error

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]