This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/3] cleanup value code


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(-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]