aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-04-08 10:37:07 -0400
committerSimon Marchi <simon.marchi@efficios.com>2022-04-12 14:13:11 -0400
commitb08c778be92ec638f4f8e6d8d7153c1456b460c8 (patch)
treeea29287b3cb9c84256cf37db9cca15544db8efbb /gdb/c-lang.c
parentebd4e6d017f972cbba5d889310a09506bec4dbf4 (diff)
downloadgdb-b08c778be92ec638f4f8e6d8d7153c1456b460c8.zip
gdb-b08c778be92ec638f4f8e6d8d7153c1456b460c8.tar.gz
gdb-b08c778be92ec638f4f8e6d8d7153c1456b460c8.tar.bz2
gdb: use std::vector for temporary linetable_entry array in arrange_linetable
Reduce manual memory management and make the code a bit easier to read. This helps me a bit in the following patch. I don't have a way to test this, it's best-effort. Change-Id: I64af9cd756311deabc6cd95e701dfb21234a40a5
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions