[dbghelp] continue dwarf support

Eric Pouech eric.pouech at wanadoo.fr
Mon Oct 10 14:27:41 CDT 2005


Raphael wrote:
> Hi,
> 
> Changelog:
>   - begin of dwarf debug lines parsing
>   - better robustness
>   - support of unamed syms
>   - better traces
> 
> TODO:
>   - find a clean way to handle forward declarations
>   - debug lines parsing
> 

> Index: type.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/dbghelp/type.c,v
> retrieving revision 1.12
> diff -u -r1.12 type.c
> --- type.c	18 Apr 2005 15:34:10 -0000	1.12
> +++ type.c	10 Oct 2005 07:02:25 -0000
> @@ -204,8 +204,8 @@
>   * the others (bit fields)
>   */
>  BOOL symt_add_udt_element(struct module* module, struct symt_udt* udt_type,
> -                          const char* name, struct symt* elt_type,
> -                          unsigned offset, unsigned size)
> +			  const char* name, struct symt* elt_type,
> +			  unsigned offset, unsigned size)
>  {
>      struct symt_data*   m;
>      struct symt**       p;
> @@ -220,7 +220,7 @@
>          assert(m);
>          assert(m->symt.tag == SymTagData);
>          if (m->hash_elt.name[0] == name[0] && strcmp(m->hash_elt.name, name) == 0)
> -            return TRUE;
> +	    return FALSE;
>      }
>  
>      if ((m = pool_alloc(&module->pool, sizeof(*m))) == NULL) return FALSE;
I don't see the reason of changin the returnd value from TRUE to FALSE
-- 
Eric Pouech




More information about the wine-devel mailing list