aboutsummaryrefslogtreecommitdiff
path: root/gdb/nios2-linux-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-08-26 11:53:47 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2018-08-26 11:53:47 -0400
commit39e7af3e4b4e6c9f39d8d58cae73a2d307e6e1a1 (patch)
tree5fad8974eaf9c3381e142f0bc5f8ed075d910606 /gdb/nios2-linux-tdep.c
parent3d9c8f6b3f033a6092425b7344647fb51dbed5c6 (diff)
downloadgdb-39e7af3e4b4e6c9f39d8d58cae73a2d307e6e1a1.zip
gdb-39e7af3e4b4e6c9f39d8d58cae73a2d307e6e1a1.tar.gz
gdb-39e7af3e4b4e6c9f39d8d58cae73a2d307e6e1a1.tar.bz2
Make ada-lang.c::add_angle_brackets return an std::string
This removes the need for manual memory management. It may also be a bit more efficient, since the returned string can be moved all the way into the destination, in ada_lookup_name_info::matches. gdb/ChangeLog: * ada-lang.c (add_angle_brackets): Return std::string.
Diffstat (limited to 'gdb/nios2-linux-tdep.c')
0 files changed, 0 insertions, 0 deletions