This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

inferior_pid's magic value of zero.


Would anyone object to patches that used a macro (say, NO_INFERIOR) instead
of the magic 0 that is currently used ?

Assuming the answer is yes, presumably we'd put the default #define to 0 in
inferior.h, and allow it to be overridden by tm.h.

-- 
Todd Whitesel
toddpw @ windriver.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]