Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(758)

Unified Diff: gdb/amd64-sol2-tdep.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/amd64-nat.c ('k') | gdb/amd64-tdep.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/amd64-sol2-tdep.c
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c
index 6d2f57f8b715bc8413394fe905cc2ee7a6956d3d..dbc65d4783ae3d37161fec23c7501446f8c7500c 100644
--- a/gdb/amd64-sol2-tdep.c
+++ b/gdb/amd64-sol2-tdep.c
@@ -54,7 +54,7 @@ static int amd64_sol2_gregset_reg_offset[] = {
1 * 8,
0 * 8, /* ... %r15 */
17 * 8, /* %rip */
- 16 * 8, /* %eflags */
+ 19 * 8, /* %eflags */
18 * 8, /* %cs */
21 * 8, /* %ss */
25 * 8, /* %ds */
@@ -71,7 +71,7 @@ static int
amd64_sol2_sigtramp_p (struct frame_info *this_frame)
{
CORE_ADDR pc = get_frame_pc (this_frame);
- char *name;
+ const char *name;
find_pc_partial_function (pc, &name, NULL, NULL);
return (name && (strcmp ("sigacthandler", name) == 0
« no previous file with comments | « gdb/amd64-nat.c ('k') | gdb/amd64-tdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698