mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-03-04 15:37:54 +00:00
2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *. * ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise. * ld-srec/sr3.cc (Foo::Foo): Likewise.
This commit is contained in:
parent
f9f21a03c5
commit
a78d2a672f
@ -1,3 +1,9 @@
|
||||
2006-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *.
|
||||
* ld-cdtest/cdtest-foo.h (Foo::Foo): Likewise.
|
||||
* ld-srec/sr3.cc (Foo::Foo): Likewise.
|
||||
|
||||
2006-05-02 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* ld-arm/arm-elf.exp: Add thumb-rel32.
|
||||
|
@ -38,7 +38,7 @@ Foo::Foo ()
|
||||
#endif
|
||||
}
|
||||
|
||||
Foo::Foo (char* msg)
|
||||
Foo::Foo (const char* msg)
|
||||
{
|
||||
i = ++foos;
|
||||
strncpy( message, msg, len);
|
||||
|
@ -17,7 +17,7 @@ public:
|
||||
static void init_foo ();
|
||||
static int nb_foos() { return foos; }
|
||||
Foo();
|
||||
Foo( char* message);
|
||||
Foo(const char* message);
|
||||
Foo(const Foo&);
|
||||
Foo & operator= (const Foo&);
|
||||
~Foo ();
|
||||
|
@ -11,7 +11,7 @@ public:
|
||||
static void init_foo ();
|
||||
static int nb_foos() { return foos; }
|
||||
Foo();
|
||||
Foo( char* message);
|
||||
Foo(const char* message);
|
||||
Foo(const Foo&);
|
||||
Foo & operator= (const Foo&);
|
||||
~Foo ();
|
||||
@ -93,7 +93,7 @@ Foo::Foo ()
|
||||
i = ++foos;
|
||||
}
|
||||
|
||||
Foo::Foo (char*)
|
||||
Foo::Foo (const char*)
|
||||
{
|
||||
i = ++foos;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user