diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-12 22:40:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-12 22:40:59 +0200 |
commit | d0ac419702c94bf2d2eda50b008613bac8149745 (patch) | |
tree | c5c4631cd19aca23abf9b76abf1ecf4d50ee6f93 /package/gdbserver/patches/7.8.2/patch-gdb_gdbserver_linux-low_c | |
parent | 9dcf0c59a384703891da3a65ce3df4742b5e7b4f (diff) |
gdb: decouple toolchain and package, add special package for microblaze, looks cleaner to me
Diffstat (limited to 'package/gdbserver/patches/7.8.2/patch-gdb_gdbserver_linux-low_c')
-rw-r--r-- | package/gdbserver/patches/7.8.2/patch-gdb_gdbserver_linux-low_c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/gdbserver/patches/7.8.2/patch-gdb_gdbserver_linux-low_c b/package/gdbserver/patches/7.8.2/patch-gdb_gdbserver_linux-low_c deleted file mode 100644 index ccb61c3a0..000000000 --- a/package/gdbserver/patches/7.8.2/patch-gdb_gdbserver_linux-low_c +++ /dev/null @@ -1,22 +0,0 @@ ---- gdb-7.8.orig/gdb/gdbserver/linux-low.c 2014-07-29 14:37:42.000000000 +0200 -+++ gdb-7.8/gdb/gdbserver/linux-low.c 2014-09-05 00:47:25.427321525 +0200 -@@ -4933,15 +4933,15 @@ static int - linux_read_offsets (CORE_ADDR *text_p, CORE_ADDR *data_p) - { - unsigned long text, text_end, data; -- int pid = lwpid_of (get_thread_lwp (current_inferior)); -+ int pid = lwpid_of (current_inferior); - - errno = 0; - -- text = ptrace (PTRACE_PEEKUSER, pid, (PTRACE_TYPE_ARG3) PT_TEXT_ADDR, -+ text = ptrace (PTRACE_PEEKUSER, pid, (PTRACE_TYPE_ARG3) (PT_TEXT_ADDR), - (PTRACE_TYPE_ARG4) 0); -- text_end = ptrace (PTRACE_PEEKUSER, pid, (PTRACE_TYPE_ARG3) PT_TEXT_END_ADDR, -+ text_end = ptrace (PTRACE_PEEKUSER, pid, (PTRACE_TYPE_ARG3) (PT_TEXT_END_ADDR), - (PTRACE_TYPE_ARG4) 0); -- data = ptrace (PTRACE_PEEKUSER, pid, (PTRACE_TYPE_ARG3) PT_DATA_ADDR, -+ data = ptrace (PTRACE_PEEKUSER, pid, (PTRACE_TYPE_ARG3) (PT_DATA_ADDR), - (PTRACE_TYPE_ARG4) 0); - - if (errno == 0) |