]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
breakpoint.h: move enum ‘print_stop_action’
authorPedro Alves <palves@redhat.com>
Wed, 22 Oct 2014 11:26:06 +0000 (12:26 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 27 Feb 2015 17:40:35 +0000 (17:40 +0000)
commit64166036b3de842d3e62e9471a2813b55643e3f3
tree62f1c16e2e39a2079f4c6f3639b297f85087bb02
parent8a526fa69afd8ea7d2e303f80c03f9eb46211390
breakpoint.h: move enum ‘print_stop_action’

Building GDB in C++, we get:

  src/gdb/breakpoint.h:529:8: error: use of enum ‘print_stop_action’ without previous declaration

We can't forward declare enums in C++.

gdb/ChangeLog:
2015-02-27  Pedro Alves  <palves@redhat.com>

* breakpoint.h (enum print_stop_action): Move further up in the
file.
gdb/ChangeLog
gdb/breakpoint.h