This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 48b6e87ef297136a6409c2c993c4626f28bbb4d1
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 22 Apr 2014 01:51:11 -0000
- Subject: gdb and binutils branch master updated. 48b6e87ef297136a6409c2c993c4626f28bbb4d1
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 48b6e87ef297136a6409c2c993c4626f28bbb4d1 (commit)
from f159927f4d15d820a6eb615e33d68780db035c8d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=48b6e87ef297136a6409c2c993c4626f28bbb4d1
commit 48b6e87ef297136a6409c2c993c4626f28bbb4d1
Author: Yao Qi <yao@codesourcery.com>
Date: Fri Apr 18 19:32:01 2014 +0800
Unify ctf_fetch_registers and tfile_fetch_registers
Functions ctf_fetch_registers and tfile_fetch_registers have some
duplicated code about guessing the PC in regcache. Sometimes, we
may change one function and forget to update the other one, like this
https://www.sourceware.org/ml/gdb-patches/2014-01/msg00292.html
This patch is to move the duplicated code into a new function
tracefile_fetch_registers, and let both ctf_fetch_registers and
tfile_fetch_registers call it.
gdb:
2014-04-22 Yao Qi <yao@codesourcery.com>
* tracefile-tfile.c (tfile_fetch_registers): Move the bottom to ...
* tracefile.c (tracefile_fetch_registers): ... it. New function.
* tracefile.h (tracefile_fetch_registers): Declare.
* ctf.c (ctf_fetch_registers): Remove the bottom. Call
tracefile_fetch_registers.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 10 ++++++++
gdb/ctf.c | 48 +++-----------------------------------
gdb/tracefile-tfile.c | 58 ++++------------------------------------------
gdb/tracefile.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++
gdb/tracefile.h | 2 +
5 files changed, 82 insertions(+), 97 deletions(-)
hooks/post-receive
--
gdb and binutils