diff options
Diffstat (limited to 'gdb/solib-som.c')
-rw-r--r-- | gdb/solib-som.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-som.c b/gdb/solib-som.c index 98b32db..fd0ff81 100644 --- a/gdb/solib-som.c +++ b/gdb/solib-som.c @@ -220,7 +220,7 @@ som_solib_create_inferior_hook (int from_tty) goto keep_going; anaddr = SYMBOL_VALUE_ADDRESS (msymbol); - store_unsigned_integer (buf, 4, byte_order, PIDGET (inferior_ptid)); + store_unsigned_integer (buf, 4, byte_order, ptid_get_pid (inferior_ptid)); status = target_write_memory (anaddr, buf, 4); if (status != 0) { |