bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some not working stuff be using ddd on WindRivers GDP


From: VP RBG-SVIISRDSW-08843
Subject: Some not working stuff be using ddd on WindRivers GDP
Date: Sat, 18 Oct 2003 14:56:48 +0200

Hi,
if I'm using vxwork's (Tornado 2.2) GDB implementation most of the actions 
taking pathnames from the GDB doesn't work on cygwin-pc! (Win-NT)

I found one of the reasons but there still more not working code on the DDD 
around  vxGDB. 
See comments prefixed by //SIE: for more information about one of the mistakes 
I found.

Regards 
j. Sievers

__________________________________________
        SiemensVDO Automotive AG

        Juergen Sievers
        Freelancer at SIEMENS VDO Regensburg
        address@hidden

        Office Address:
        Im Gewerbepark - C25/1/19
        D - 93059 Regensburg
        Tel.: +49 (941) 790-5561

address@hidden ~
$ ddd --configuration
GNU DDD 3.3.7 (i686-pc-cygwin)
Copyright (C) 1995-1999 Technische Universität Braunschweig, Germany.
Copyright (C) 1999-2001 Universität Passau, Germany.
Copyright (C) 2001 Universität des Saarlandes, Germany.

Compiled with GCC 3.2 20020927 (prerelease)
Requires X11R6, Xt11R6, Motif 2.1 (GNU/LessTif Version 2.1 Release 0.93.91)
Includes XPM 3.4.11, Athena Panner (7000002L), DDD core
Built 2003-10-15 by uid08843 <address@hidden>.


//-----------------------------------------------------------------------
// Position management
//-----------------------------------------------------------------------

// Set current execution position, based on the GDB position info
// POSITION; no arg means clear current position.
// STOPPED indicates that the program just stopped.
// SIGNALED indicates that the program received a signal.
void SourceView::show_execution_position (string position, bool stopped,
                                          bool signaled, bool silent)
{
    if (stopped)
    {
        at_lowest_frame = true;
        signal_received = signaled;
    }

    if (position == "")
    {
        ...
        ...
        undo_buffer.remove_position();
        undo_buffer.add_state();
        return;
    }

    string file_name = current_file_name;

// SIE: Da haben wir ja den kleinen Bugg :)
// The first ':' may be the drive separator not the linenumber seperator :)))

    dddlog << "*** SIE: WIEDOOF BEFORE FIX \':\' bug for vxgdb pos(" << 
position.chars() << ") file(" << file_name.chars() << ")\n";

    if (position.contains(':'))
    {
//SIE:  Remove Drive and Driveseperator from path. WARING THIS WORKS ONLY ON 
(Windrivers-Cygwin-GDB) for MICROSOFTS WIEDOOF SYSTEMS
        string tmp = position.after(":");
        file_name = tmp.before(":");
        position  = tmp.after(":");
    }

    dddlog << "*** SIE: WIEDOOF AFTER FIX \':\' bug for vxgdb pos(" << 
position.chars() << ") file(" << file_name.chars() << ")\n";

    int line = get_positive_nr(position);
    if (line < 0)
        return;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]