This is the mail archive of the gdb-prs@sources.redhat.com 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]

Re: gdb/278: error in step mode execution of programs in gdb


Synopsis: error in step mode execution of programs in gdb

State-Changed-From-To: open->suspended
State-Changed-By: drow
State-Changed-When: Tue Jul  9 16:56:41 2002
State-Changed-Why:
    Not GDB's fault.  This appears to be a Linux kernel bug.
    
    The problem occurs because the text segment (normally
    read-only) and the constant string in .rodata are mapped
    to the same page.  When GDB inserts a software breakpoint
    the kernel maps the page as read-write, and the kernel
    never returns the page to read-only status.
    
    Please report this to the kernel developers, either
    through the linux-kernel list or via Mandrake.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=278


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