]> sourceware.org Git - systemtap.git/commitdiff
Fix RHEL5 x86_64 register printing.
authorDavid Smith <dsmith@redhat.com>
Mon, 19 Nov 2012 19:21:02 +0000 (13:21 -0600)
committerDavid Smith <dsmith@redhat.com>
Mon, 19 Nov 2012 19:21:02 +0000 (13:21 -0600)
* runtime/linux/regs.c (_stp_print_regs): Correctly print the 'flags'
  register on systems before x86 register unification, such as RHEL5.

runtime/linux/regs.c

index fa58dc4a14ea429c3d7354744fc6efd704e92c67..ad88ce363d8fc1edba257afaa8a11b40faf32ad3 100644 (file)
@@ -44,7 +44,7 @@
 #define EREG(nm, regs) ((regs)->nm)
 #define RREG(nm, regs) ((regs)->nm)
 #else
-#define EREG(nm, regs) ((regs)->r##nm)
+#define EREG(nm, regs) ((regs)->e##nm)
 #define RREG(nm, regs) ((regs)->r##nm)
 #endif
 
This page took 0.028307 seconds and 5 git commands to generate.