mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-06 14:21:43 +08:00
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
* buildsym.c (finish_block): Reset using_directives pointer after block initialization. 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/gdb2384-base.h: Created 'namespace B'. * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
This commit is contained in:
parent
21e24d2119
commit
00ae8fef88
@ -1,3 +1,8 @@
|
||||
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
|
||||
|
||||
* buildsym.c (finish_block): Reset using_directives pointer
|
||||
after block initialization.
|
||||
|
||||
2010-03-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* amd64-tdep.c (amd64_word_names): Replace "sp" with "".
|
||||
|
@ -387,6 +387,7 @@ finish_block (struct symbol *symbol, struct pending **listhead,
|
||||
}
|
||||
|
||||
block_set_using (block, using_directives, &objfile->objfile_obstack);
|
||||
using_directives = NULL;
|
||||
|
||||
record_pending_block (objfile, block, opblock);
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
|
||||
|
||||
* gdb.cp/gdb2384-base.h: Created 'namespace B'.
|
||||
* gdb.cp/gdb2384-base.cc: Use 'namespace B'.
|
||||
|
||||
2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* lib/gdb.exp (gdb_test_multiple): Handle -timeout.
|
||||
|
@ -23,6 +23,8 @@ base::base (int _x)
|
||||
{
|
||||
}
|
||||
|
||||
using namespace B;
|
||||
|
||||
int
|
||||
base::meth ()
|
||||
{
|
||||
|
@ -16,6 +16,10 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace B{
|
||||
int x;
|
||||
}
|
||||
|
||||
class base
|
||||
{
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user