This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Remove duplicated code on checking address 0x0 is accessiable
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 08 Aug 2014 08:10:06 -0600
- Subject: Re: [PATCH] Remove duplicated code on checking address 0x0 is accessiable
- Authentication-results: sourceware.org; auth=none
- References: <1407496273-29483-1-git-send-email-yao at codesourcery dot com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> 2014-08-08 Yao Qi <yao@codesourcery.com>
Yao> * gdb.base/display.exp: Invoke is_address_zero_readable.
Yao> * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
Yao> * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
Yao> * gdb.base/hbreak-unmapped.exp: Return if
Yao> is_address_zero_readable returns true.
Yao> * gdb.base/signest.exp: Likewise.
Yao> * gdb.base/signull.exp: Likewise.
Yao> * gdb.base/sigbpt.exp: Likewise.
Yao> * gdb.guile/scm-disasm.exp: Do the test if
Yao> is_address_zero_readable returns false.
Yao> * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
Yao> * gdb.python/py-arch.exp: Likewise.
Yao> * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
Yao> * lib/gdb.exp (is_address_zero_readable): New proc.
Nice cleanup.
This is ok.
Tom