diff options
author | nfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 17:14:58 +0000 |
---|---|---|
committer | nfullagar@google.com <nfullagar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 17:14:58 +0000 |
commit | c40c9da1fd51931687060277d529b6990b405ac9 (patch) | |
tree | b9659df289d5aedd8520ae9dbdcd56d32eddc9c0 /chrome/nacl | |
parent | 2f6fc6d9b62e14b22de3cb489500a4cfb0b5f2fa (diff) | |
download | chromium_src-c40c9da1fd51931687060277d529b6990b405ac9.zip chromium_src-c40c9da1fd51931687060277d529b6990b405ac9.tar.gz chromium_src-c40c9da1fd51931687060277d529b6990b405ac9.tar.bz2 |
Make _ovly_debug_event extern "C" for nacl-gdb
Review URL: http://codereview.chromium.org/1378004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
-rw-r--r-- | chrome/nacl/sel_main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/nacl/sel_main.cc b/chrome/nacl/sel_main.cc index 5086d1e..d8fb30b 100644 --- a/chrome/nacl/sel_main.cc +++ b/chrome/nacl/sel_main.cc @@ -30,9 +30,10 @@ int verbosity = 0; /* * GDB's canonical overlay managment routine. * We need its symbol in the symbol table so don't inline it. + * Note: _ovly_debug_event has to be an unmangled 'C' style symbol. * TODO(dje): add some explanation for the non-GDB person. */ - +EXTERN_C_BEGIN static void __attribute__ ((noinline)) _ovly_debug_event (void) { /* * The asm volatile is here as instructed by the GCC docs. @@ -41,6 +42,7 @@ static void __attribute__ ((noinline)) _ovly_debug_event (void) { */ asm volatile (""); } +EXTERN_C_END #endif |