diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 00:02:04 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-14 00:02:04 +0000 |
commit | 4cc7027434204784572b44dd0546678d560f2d61 (patch) | |
tree | 9122c191a7a09786526f7dc17bb7136d0bea1a55 /breakpad/linux/linux_dumper.cc | |
parent | 5e26030d358f16265cf80d3ed387ed51d0d1abec (diff) | |
download | chromium_src-4cc7027434204784572b44dd0546678d560f2d61.zip chromium_src-4cc7027434204784572b44dd0546678d560f2d61.tar.gz chromium_src-4cc7027434204784572b44dd0546678d560f2d61.tar.bz2 |
Build breakpad / crash reporting on Linux 64-bit.
Review URL: http://codereview.chromium.org/165493
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'breakpad/linux/linux_dumper.cc')
-rw-r--r-- | breakpad/linux/linux_dumper.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/breakpad/linux/linux_dumper.cc b/breakpad/linux/linux_dumper.cc index 3dc64db..7b6ab23 100644 --- a/breakpad/linux/linux_dumper.cc +++ b/breakpad/linux/linux_dumper.cc @@ -316,10 +316,12 @@ bool LinuxDumper::ThreadInfoGet(pid_t tid, ThreadInfo* info) { return false; } -#if defined(__i386) || defined(__x86_64) +#if defined(__i386) if (sys_ptrace(PTRACE_GETFPXREGS, tid, NULL, &info->fpxregs) == -1) return false; +#endif +#if defined(__i386) || defined(__x86_64) for (unsigned i = 0; i < ThreadInfo::kNumDebugRegisters; ++i) { if (sys_ptrace( PTRACE_PEEKUSER, tid, |