gdb: use std::vector for temporary linetable_entry array in arrange_linetable
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 8 Apr 2022 14:37:07 +0000 (10:37 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 12 Apr 2022 18:13:11 +0000 (14:13 -0400)
commitb08c778be92ec638f4f8e6d8d7153c1456b460c8
treeea29287b3cb9c84256cf37db9cca15544db8efbb
parentebd4e6d017f972cbba5d889310a09506bec4dbf4
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
gdb/xcoffread.c