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

Issue 469002: MIPS support for Stackwalker module

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by deepthi
Modified:
11 years, 8 months ago
CC:
google-breakpad-dev_googlegroups.com, chris
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

MIPS support for Stackwalker module

Patch Set 1 #

Total comments: 26
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M Makefile.am View 5 chunks +6 lines, -0 lines 1 comment Download
M Makefile.in View 14 chunks +18 lines, -0 lines 0 comments Download
M src/google_breakpad/processor/stack_frame_cpu.h View 1 chunk +115 lines, -0 lines 7 comments Download
M src/processor/minidump_processor.cc View 1 chunk +4 lines, -0 lines 1 comment Download
M src/processor/minidump_stackwalk.cc View 2 chunks +14 lines, -1 line 3 comments Download
M src/processor/stackwalker.cc View 2 chunks +9 lines, -0 lines 1 comment Download
A src/processor/stackwalker_MIPS.cc View 1 chunk +490 lines, -0 lines 10 comments Download
A src/processor/stackwalker_MIPS.h View 1 chunk +88 lines, -0 lines 3 comments Download

Messages

Total messages: 5
deepthi
MIPS support for Stackwalker module
12 years, 2 months ago #1
deepthi
Chris, Please review the patch
12 years, 2 months ago #2
Ted Mielczarek
12 years, 2 months ago #3
Ted Mielczarek
I have a few comments, but I didn't thoroughly review the actual stack walking bits. ...
12 years, 2 months ago #4
digit
11 years, 8 months ago #5
http://breakpad.appspot.com/469002/diff/1/Makefile.am
File Makefile.am (right):

http://breakpad.appspot.com/469002/diff/1/Makefile.am#newcode191
Makefile.am:191: src/processor/stackwalker_MIPS.cc \
I don't see a good reason to introduce random capitalization in source file
names, i.e. can you rename these files to _mips.cc instead?

http://breakpad.appspot.com/469002/diff/1/src/google_breakpad/processor/stack...
File src/google_breakpad/processor/stack_frame_cpu.h (right):

http://breakpad.appspot.com/469002/diff/1/src/google_breakpad/processor/stack...
src/google_breakpad/processor/stack_frame_cpu.h:249: // The whole enum present
here is replaced for MIPS N64 architecture
Yes, please be specific when naming types. Keep in mind that Android/MIPS is
still using the O32 MIPS ABI, so ensure your changes would allow to support this
in the future too.

For example, in the client code, test for __mips__ only when you want to check
for a MIPS architecture, use _ABIO32 or _ABIN64 when checking for a specific
MIPS ABI, etc...

http://breakpad.appspot.com/469002/diff/1/src/google_breakpad/processor/stack...
src/google_breakpad/processor/stack_frame_cpu.h:327: //  This function is added
to cope with the ARM architecture of MIPS
I don't understand any thing in this comment :)

http://breakpad.appspot.com/469002/diff/1/src/processor/minidump_stackwalk.cc
File src/processor/minidump_stackwalk.cc (right):

http://breakpad.appspot.com/469002/diff/1/src/processor/minidump_stackwalk.cc...
src/processor/minidump_stackwalk.cc:257: } else {
this should be:
  } else if (cpu == "mips") {

http://breakpad.appspot.com/469002/diff/1/src/processor/stackwalker_MIPS.cc
File src/processor/stackwalker_MIPS.cc (right):

http://breakpad.appspot.com/469002/diff/1/src/processor/stackwalker_MIPS.cc#n...
src/processor/stackwalker_MIPS.cc:97: static const char *register_names[] = {
Please use:

  static const char* const register_names[] = {
Sign in to reply to this message.

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