Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(28)

Issue 381002: Add MIPS support

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by chrisdearman
Modified:
11 years, 7 months ago
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

Add MIPS support

Signed-off-by: Chris Dearman <chris@mips.com>

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add MIPS support #

Total comments: 13
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/handler/exception_handler.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M src/client/linux/handler/exception_handler.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/client/linux/handler/exception_handler_unittest.cc View 1 9 chunks +39 lines, -0 lines 3 comments Download
M src/client/linux/minidump_writer/linux_core_dumper.cc View 1 chunk +2 lines, -0 lines 1 comment Download
M src/client/linux/minidump_writer/linux_dumper.h View 2 chunks +7 lines, -1 line 0 comments Download
M src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/client/linux/minidump_writer/linux_ptrace_dumper.cc View 2 chunks +11 lines, -1 line 3 comments Download
M src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc View 2 chunks +3 lines, -1 line 1 comment Download
M src/client/linux/minidump_writer/minidump_writer.cc View 4 chunks +71 lines, -1 line 1 comment Download
A src/google_breakpad/common/minidump_cpu_mips.h View 1 1 chunk +170 lines, -0 lines 3 comments Download
M src/google_breakpad/common/minidump_format.h View 1 2 chunks +1 line, -1 line 0 comments Download
M src/google_breakpad/processor/minidump.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/processor/minidump.cc View 5 chunks +125 lines, -0 lines 1 comment Download
M src/processor/minidump_unittest.cc View 1 chunk +115 lines, -0 lines 0 comments Download
M src/processor/synth_minidump.cc View 1 chunk +33 lines, -0 lines 0 comments Download
M src/processor/synth_minidump.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/tools/linux/md2core/minidump-2-core.cc View 3 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 4
Ben Chan
some drive-by comments http://breakpad.appspot.com/381002/diff/1/src/client/linux/handler/exception_handler_unittest.cc File src/client/linux/handler/exception_handler_unittest.cc (right): http://breakpad.appspot.com/381002/diff/1/src/client/linux/handler/exception_handler_unittest.cc#newcode183 src/client/linux/handler/exception_handler_unittest.cc:183: __builtin___clear_cache(memory + kOffset, memory + kOffset ...
12 years ago #1
Ted Mielczarek
A couple of other places you probably want to add MIPS support, off the top ...
12 years ago #2
deepthi
I guess there is one more place that needs porting. File : minidump_writer.cc where DSO ...
11 years, 8 months ago #3
deepthi
11 years, 7 months ago #4
The below modification in Function : Dump() File :
src/client/linux/minidump_writer/minidump_writer.cc will work for above
mentioned issue.


#ifdef __mips__
        if (dyn.d_tag == DT_MIPS_RLD_MAP) {
            r_debug = (struct r_debug*)(*(ElfW(Addr)*)(dyn.d_un.d_ptr));
            continue;
        }
#else
        if (dyn.d_tag == DT_DEBUG) {
          r_debug = (struct r_debug*)dyn.d_un.d_ptr;
          continue;
        }
#endif
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted