aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-01-26 12:32:45 +0100
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>2019-02-06 21:05:49 +0100
commitab9268d2f88414f202651eb5ffbd61c7927fb0c3 (patch)
treeb9818db1b3e7d449a21eb821c4000b41e966de2b /gdb/config
parentbb0da2b49689f49f01be2f8c5429945f37e12404 (diff)
downloadgdb-ab9268d2f88414f202651eb5ffbd61c7927fb0c3.zip
gdb-ab9268d2f88414f202651eb5ffbd61c7927fb0c3.tar.gz
gdb-ab9268d2f88414f202651eb5ffbd61c7927fb0c3.tar.bz2
Factorize macro definition code in macrotab.c
When first fixing splay tree key leaks in macrotab.c, some duplicated code logic was factorized. The key leaks will be fixed in libiberty, but the code factorization is better kept in any case. gdb/ChangeLog 2019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be> * macrotab.c (macro_define_internal): New function that factorizes macro_define_object_internal and macro_define_function code. (macro_define_object_internal): Use macro_define_internal. (macro_define_function): Likewise.
Diffstat (limited to 'gdb/config')
0 files changed, 0 insertions, 0 deletions