projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
gdb
/
nto-tdep.c
diff --git
a/gdb/nto-tdep.c
b/gdb/nto-tdep.c
index 8286db27fe554fa82984f2566a3cdbc777bbe0b9..0caa55c2493ab4d18262527431431a5748961370 100644
(file)
--- a/
gdb/nto-tdep.c
+++ b/
gdb/nto-tdep.c
@@
-1,6
+1,6
@@
/* nto-tdep.c - general QNX Neutrino target functionality.
/* nto-tdep.c - general QNX Neutrino target functionality.
- Copyright (C) 2003-201
7
Free Software Foundation, Inc.
+ Copyright (C) 2003-201
9
Free Software Foundation, Inc.
Contributed by QNX Software Systems Ltd.
Contributed by QNX Software Systems Ltd.
@@
-31,6
+31,8
@@
#include "solib-svr4.h"
#include "gdbcore.h"
#include "objfiles.h"
#include "solib-svr4.h"
#include "gdbcore.h"
#include "objfiles.h"
+#include "source.h"
+#include "common/pathstuff.h"
#define QNX_NOTE_NAME "QNX"
#define QNX_INFO_SECT_NAME "QNX_info"
#define QNX_NOTE_NAME "QNX"
#define QNX_INFO_SECT_NAME "QNX_info"
@@
-88,7
+90,7
@@
nto_map_arch_to_cputype (const char *arch)
int
nto_find_and_open_solib (const char *solib, unsigned o_flags,
int
nto_find_and_open_solib (const char *solib, unsigned o_flags,
-
char *
*temp_pathname)
+
gdb::unique_xmalloc_ptr<char>
*temp_pathname)
{
char *buf, *arch_path, *nto_root;
const char *endian;
{
char *buf, *arch_path, *nto_root;
const char *endian;
@@
-142,9
+144,9
@@
nto_find_and_open_solib (const char *solib, unsigned o_flags,
if (temp_pathname)
{
if (ret >= 0)
if (temp_pathname)
{
if (ret >= 0)
- *temp_pathname = gdb_realpath (arch_path)
.release ()
;
+ *temp_pathname = gdb_realpath (arch_path);
else
else
-
*temp_pathname = NULL
;
+
temp_pathname->reset (NULL)
;
}
}
return ret;
}
}
return ret;
This page took
0.026807 seconds
and
4
git commands to generate.