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

Unified Diff: src/common/dwarf_cfi_to_module.cc

Issue 6814002: SH4 support Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: with sh4_unittest Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/common/dwarf_cfi_to_module.cc
===================================================================
--- src/common/dwarf_cfi_to_module.cc (revision 1435)
+++ src/common/dwarf_cfi_to_module.cc (working copy)
@@ -142,6 +142,25 @@
sizeof(kRegisterNames) / sizeof(kRegisterNames[0]));
}
+vector<string> DwarfCFIToModule::RegisterNames::SH4() {
+ static const char *const names[] = {
+ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
+ "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",
+ "pc", "pr", "gbr", "vbr", "mach", "macl", "sr", "fpul",
+ "fpscr", "fr0", "fr1", "fr2", "fr3", "fr4", "fr5", "fr6",
+ "fr7", "fr8", "fr9", "fr10", "fr11", "fr12", "fr13", "fr14",
+ "fr15", "ssr", "spc", "", "", "", "", "",
+ "", "", "", "", "", "", "", "",
+ "", "", "", "dbr", "sgr", "xf0", "xf1", "xf2",
+ "xf3", "xf4", "xf5", "xf6", "xf7", "xf8", "xf9", "xf10",
+ "xf11", "xf12", "xf13", "xf14", "xf15", "", "", "",
+ "", "", "", "", "", "", "", "xd0",
+ "xd1", "xd2", "xd3", "xd4", "xd5", "xd6", "xd7"
+ };
+
+ return MakeVector(names, sizeof(names) / sizeof(names[0]));
+}
+
bool DwarfCFIToModule::Entry(size_t offset, uint64 address, uint64 length,
uint8 version, const string &augmentation,
unsigned return_address) {

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