switch inferior/thread before calling target methods
[deliverable/binutils-gdb.git] / include / bout.h
index 0f5c1ca17e3b2781ed6a17f5e46dd700bbec4a42..40302944271d6a82ef62f93ac8e05d7796e546a5 100644 (file)
@@ -2,7 +2,7 @@
    GNU tools modified to support the i80960 (or tools that operate on
    object files created by such tools).
 
    GNU tools modified to support the i80960 (or tools that operate on
    object files created by such tools).
 
-   Copyright (C) 2001-2014 Free Software Foundation, Inc.
+   Copyright (C) 2001-2020 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -87,16 +87,16 @@ struct external_exec
 
 /* These macros use the a_xxx field names, since they operate on the exec
    structure after it's been byte-swapped and realigned on the host machine.  */
 
 /* These macros use the a_xxx field names, since they operate on the exec
    structure after it's been byte-swapped and realigned on the host machine.  */
-#define N_BADMAG(x)    (((x).a_info)!=BMAGIC)
+#define N_BADMAG(x)    (((x)->a_info)!=BMAGIC)
 #define N_TXTOFF(x)    EXEC_BYTES_SIZE
 #define N_TXTOFF(x)    EXEC_BYTES_SIZE
-#define N_DATOFF(x)    ( N_TXTOFF(x) + (x).a_text )
-#define N_TROFF(x)     ( N_DATOFF(x) + (x).a_data )
+#define N_DATOFF(x)    ( N_TXTOFF(x) + (x)->a_text )
+#define N_TROFF(x)     ( N_DATOFF(x) + (x)->a_data )
 #define N_TRELOFF      N_TROFF
 #define N_TRELOFF      N_TROFF
-#define N_DROFF(x)     ( N_TROFF(x) + (x).a_trsize )
+#define N_DROFF(x)     ( N_TROFF(x) + (x)->a_trsize )
 #define N_DRELOFF      N_DROFF
 #define N_DRELOFF      N_DROFF
-#define N_SYMOFF(x)    ( N_DROFF(x) + (x).a_drsize )
-#define N_STROFF(x)    ( N_SYMOFF(x) + (x).a_syms )
-#define N_DATADDR(x)   ( (x).a_dload )    
+#define N_SYMOFF(x)    ( N_DROFF(x) + (x)->a_drsize )
+#define N_STROFF(x)    ( N_SYMOFF(x) + (x)->a_syms )
+#define N_DATADDR(x)   ( (x)->a_dload )
 
 /* Address of text segment in memory after it is loaded.  */
 #if !defined (N_TXTADDR)
 
 /* Address of text segment in memory after it is loaded.  */
 #if !defined (N_TXTADDR)
This page took 0.024126 seconds and 4 git commands to generate.