[PATCH 0/3] cleanup value code

Sanimir Agovic sanimir.agovic@intel.com
Wed Aug 28 13:52:00 GMT 2013


Hello,

the following patches are spinoffs of our experimental vla[1] branch
and may be applicable aside of the project.

Essentially the patches only remove code by re-using existing functions
without altering functionality.

[1] https://github.com/ChristophTWeinmann/GDB/tree/vla

 -Sanimir

Sanimir Agovic (3):
  cleanup: replace allocate_value and memcpy with value_from_contents
  cleanup: use value_lazy_at instead of allocate_value_lazy/attribute
    setter
  cleanup: make allocate_value_contents static

 gdb/dwarf2loc.c |    4 +---
 gdb/findvar.c   |   10 +---------
 gdb/valops.c    |    6 ++----
 gdb/value.c     |    7 ++-----
 gdb/value.h     |    1 -
 5 files changed, 6 insertions(+), 22 deletions(-)



More information about the Gdb-patches mailing list