Replace some uses of xstrprintf with string_printf
[deliverable/binutils-gdb.git] / gdb / nat / x86-linux-dregs.c
index 8aa87171635f68ce87fb9bfe180c8c7383f6fd95..5437fb406afd7aae660ccdd4c1e2bc7f88c07284 100644 (file)
@@ -43,7 +43,7 @@ x86_linux_dr_get (ptid_t ptid, int regnum)
   int tid;
   unsigned long value;
 
-  gdb_assert (ptid_lwp_p (ptid));
+  gdb_assert (ptid.lwp_p ());
   tid = ptid.lwp ();
 
   errno = 0;
@@ -61,7 +61,7 @@ x86_linux_dr_set (ptid_t ptid, int regnum, unsigned long value)
 {
   int tid;
 
-  gdb_assert (ptid_lwp_p (ptid));
+  gdb_assert (ptid.lwp_p ());
   tid = ptid.lwp ();
 
   errno = 0;
This page took 0.026707 seconds and 4 git commands to generate.