lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #45027] Unix echop: option --debug does not work


From: Edgar Bonet
Subject: [lwip-devel] [bug #45027] Unix echop: option --debug does not work
Date: Tue, 05 May 2015 15:48:54 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

URL:
  <http://savannah.nongnu.org/bugs/?45027>

                 Summary: Unix echop: option --debug does not work
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: ebonet
            Submitted on: mar. 05 mai 2015 15:48:53 GMT
                Category: Platform ports
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

In the Unix port, both the minimal project (echop) and simhot provide a
--debug option. This option works on simhost but has no effect on echop.

On both projects, the option sets a global variable debug_flags which,
according to the comments, is exported in lwipopts.h. The comment is
correct in simhot, where lwipopts.h contains

    extern unsigned char debug_flags;
    #define LWIP_DBG_TYPES_ON debug_flags

but the variable is not exported in echop.

The attached patch fixes the issue by copying the relevant lines from
unixsim/lwipopts.h into minimal/lwipopts.h.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: mar. 05 mai 2015 15:48:53 GMT  Name:
0001-Unix-port-fix-debug-option-in-echop.patch  Size: 2 ko   By: ebonet

<http://savannah.nongnu.org/bugs/download.php?file_id=33926>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45027>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/




reply via email to

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