diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-11-16 04:36:26 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-11-16 04:36:26 +0000 |
commit | 9816fde3d4a9966bea5b70950f3ac76f7382d525 (patch) | |
tree | c531c8834b55233f0cd96d76693b8e9b97469ea0 /intl/dcgettext.c | |
parent | ca00c57b8c2add92f454d312ff76866ff3d0a55c (diff) | |
download | gdb-9816fde3d4a9966bea5b70950f3ac76f7382d525.zip gdb-9816fde3d4a9966bea5b70950f3ac76f7382d525.tar.gz gdb-9816fde3d4a9966bea5b70950f3ac76f7382d525.tar.bz2 |
gdb/
Code cleanup.
* dwarf2read.c (alloc_one_comp_unit): Rename prototype to ...
(init_one_comp_unit): ... this one.
(prepare_one_comp_unit): New prototype.
(dw2_require_line_header, process_psymtab_comp_unit): Use
init_one_comp_unit.
(process_psymtab_comp_unit): Use prepare_one_comp_unit.
(load_partial_comp_unit): Remove variable attr. Use
init_one_comp_unit with xmalloc. Use prepare_one_comp_unit.
(load_full_comp_unit): Use init_one_comp_unit with xmalloc. Use
prepare_one_comp_unit.
(read_signatured_type): Remove variable attr. Use init_one_comp_unit.
Use prepare_one_comp_unit.
(alloc_one_comp_unit): Rename to ...
(init_one_comp_unit): ... here and remove there calloc, new parameter
cu.
(prepare_one_comp_unit): New function.
Diffstat (limited to 'intl/dcgettext.c')
0 files changed, 0 insertions, 0 deletions