From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-10 i686) Description of problem: when trying to install a breakpoint at an address with movl instructions, gdb reports the breakpoint as existing, but fails to stop execution when arriving at it Version-Release number of selected component (if applicable): 5.1-1 How reproducible: Always Steps to Reproduce: 1.build the attached source file - "gcc -g -o movl movl.c" 2.run "gdb movl" 3.set a breakpoint at a movl instruction - "b *0x40000000000006b1" 4.run the program - "r" Actual Results: the program will terminate without stopping Expected Results: the program should stop execution at the breakpoint Additional info: the source code ( if the attachement does not arrive ) ------------------ start code ---------------------------- /* file movl.c * demonstrate gdb problem */ #include <stdio.h> int main () { unsigned long r; __asm__ __volatile__ ("movl r24=0xe000000000000198;;\n" "movl r25=0xe000000000000198;;\n" "add %0=r24, r25;;\n" :"=r"(r):: "r24", "r25"); printf ("%lx\n", r); return 0; } ------------------ end code ----------------------------
Created attachment 53826 [details] source code for a test program
Still a problem with the 5.2 gdb branch on ia64 from Thursday.
Problem no longer exists on RHEL3 and current gdb.