Browse Source

* TGDBController.InternalGetValue made private to protect from accidental use
in fpdebug.pas, because it's for internal use in the libgdb.a interface only
and is not available in the gdb/mi interface

git-svn-id: trunk@30053 -

nickysn 10 years ago
parent
commit
7859afccc4
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/gdbint/src/gdbcon.pp

+ 4 - 1
packages/gdbint/src/gdbcon.pp

@@ -31,6 +31,10 @@ type
 
 
   PGDBController=^TGDBController;
   PGDBController=^TGDBController;
   TGDBController=object(TGDBInterface)
   TGDBController=object(TGDBInterface)
+  private
+    { print }
+    function InternalGetValue(Const expr : string) : AnsiString;
+  public
     progname,
     progname,
     progdir,
     progdir,
     progargs   : pchar;
     progargs   : pchar;
@@ -61,7 +65,6 @@ type
     { set command }
     { set command }
     function SetCommand(Const SetExpr : string) : boolean;
     function SetCommand(Const SetExpr : string) : boolean;
     { print }
     { print }
-    function InternalGetValue(Const expr : string) : AnsiString;
     function PrintCommand(const expr : string): AnsiString;
     function PrintCommand(const expr : string): AnsiString;
     function PrintFormattedCommand(const expr : string; Format : TPrintFormatType): AnsiString;
     function PrintFormattedCommand(const expr : string; Format : TPrintFormatType): AnsiString;
     { breakpoints }
     { breakpoints }