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

Issue 463003: MIPS support for Dump-Syms

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

Description

MIPS support for Dump-Syms

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/dwarf_cfi_to_module.cc View 1 chunk +16 lines, -0 lines 1 comment Download
M src/common/dwarf_cfi_to_module.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/common/linux/dump_symbols.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/common/linux/elfutils-inl.h View 1 chunk +6 lines, -3 lines 1 comment Download

Messages

Total messages: 5
deepthi
MIPS support for Dump-Syms
11 years, 7 months ago #1
deepthi
Chris , As Abdu discussed, please review dump-syms and stackwalker patches.
11 years, 7 months ago #2
deepthi
11 years, 7 months ago #3
Ted Mielczarek
Jim, can you take a look at this patch?
11 years, 7 months ago #4
Ted Mielczarek
11 years, 7 months ago #5
http://breakpad.appspot.com/463003/diff/1/src/common/dwarf_cfi_to_module.cc
File src/common/dwarf_cfi_to_module.cc (right):

http://breakpad.appspot.com/463003/diff/1/src/common/dwarf_cfi_to_module.cc#n...
src/common/dwarf_cfi_to_module.cc:118: "$f28", "$f29", "$f30", "$f31", "$fcsr",
"$fir"
nit: the other architectures seem to have the registers on each line vertically
aligned into columns.

http://breakpad.appspot.com/463003/diff/1/src/common/linux/elfutils-inl.h
File src/common/linux/elfutils-inl.h (right):

http://breakpad.appspot.com/463003/diff/1/src/common/linux/elfutils-inl.h#new...
src/common/linux/elfutils-inl.h:66: (sections[i].sh_type == SHT_MIPS_DWARF)) &&
This isn't right, FindElfSectionByName is a generic function. You'll want to
modify the caller instead. Probably this one:
http://code.google.com/p/google-breakpad/source/browse/trunk/src/common/linux...

The simple fix would probably be something like
ElfClass::Word section_type = elf_header->e_machine == EM_MIPS ? SHT_MIPS_DWARF
: SHT_PROGBITS;
Sign in to reply to this message.

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