X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fcommon%2Fhw-main.h;h=0629033f2c55d4f71f6193c52829757886d1c914;hb=00923338dec84505addaf9cdeca2e9c844757824;hp=b8517f5b08719a3ba0d0ffee284ab406b6daf8d8;hpb=dc3cf14f35b666eed7be13100ff58639450aa5cf;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/common/hw-main.h b/sim/common/hw-main.h index b8517f5b08..0629033f2c 100644 --- a/sim/common/hw-main.h +++ b/sim/common/hw-main.h @@ -1,5 +1,5 @@ /* Common hardware header file. - Copyright (C) 1998, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1998-2015 Free Software Foundation, Inc. Contributed by Andrew Cagney and Cygnus Support. This file is part of GDB, the GNU debugger. @@ -38,7 +38,8 @@ along with this program. If not, see . */ typedef void (hw_finish_method) (struct hw *me); -struct hw_descriptor { +struct hw_descriptor +{ const char *family; hw_finish_method *to_finish; }; @@ -54,7 +55,8 @@ void do_hw_attach_regs (struct hw *me); or a hw_io status code that indicates the reason for the read failure */ -enum { +enum +{ HW_IO_EOF = -1, HW_IO_NOT_READY = -2, /* See: IEEE 1275 */ };