https://bugs.kde.org/show_bug.cgi?id=478211

            Bug ID: 478211
           Summary: Redundant code for vgdb.c and Valgrind core tools
    Classification: Developer tools
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: ahajk...@redhat.com
  Target Milestone: ---

Created attachment 163977
  --> https://bugs.kde.org/attachment.cgi?id=163977&action=edit
patch

There are some redundancies, some functions that are already present in
remote-utils.c, used by valgrind were copied to vgdb.c. remote-utils.c/server.h
provides functions for core valgrind code and tools. The reason vgdb can't
directly use the functions provided there is that valgrind gdbserver cannot use
libc, but vgdb can and does. 

The patch attached adds remote-utils-shared.c/.h for sharing code between
vgdb.c and m_gdbserver/server.c. This removes code redundancies that was
introduced for vgdb.c by vgdb --multi implementation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to