1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changeset 1838

Show
Ignore:
Timestamp:
09/04/11 04:16:43 (3 years ago)
Author:
jkoshy
Message:

Revise the dwarf_new_die.3 manual page:

  • Fix typos.
  • Document the set of valid values for the tag argument.

Ticket: #206

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libdwarf/dwarf_new_die.3

    r1762 r1838  
    2525.\" $Id$ 
    2626.\" 
    27 .Dd August 21, 2011 
     27.Dd September 4, 2011 
    2828.Os 
    2929.Dt DWARF_NEW_DIE 3 
     
    6161.Ar tag 
    6262should specify the tag of the newly created debugging information entry. 
     63Valid values for this argument are those for the 
     64.Dv DW_TAG_ Ns * 
     65symbols defined in 
     66.In libdwarf.h . 
    6367.Pp 
    6468Argument 
    6569.Ar parent 
    66 specify the parent link of the debugging information entry. 
     70specifies the parent link of the debugging information entry. 
    6771.Pp 
    6872Argument 
    6973.Ar child 
    70 specify the first child link of the debugging information entry. 
     74specifies the first child link of the debugging information entry. 
    7175.Pp 
    7276Argument 
    7377.Ar left 
    74 specify the left sibling link of the debugging information entry. 
     78specifies the left sibling link of the debugging information entry. 
    7579.Pp 
    7680Argument 
    7781.Ar right 
    78 specify the right sibling link of the debugging information entry. 
     82specifies the right sibling link of the debugging information entry. 
    7983.Pp 
    8084Only one of arguments 
     
    8488and 
    8589.Ar right 
    86 is allowd to be non-NULL. 
    87 Application code can call function 
     90is allowed to be non-NULL. 
     91Application code can subsequently call the function 
    8892.Xr dwarf_die_link 3 
    89 later to change the links for the created debugging information entry. 
     93to change the links for the created debugging information entry. 
    9094.Pp 
    9195If argument 
     
    101105returns 
    102106.Dv DW_DLV_BADADDR 
    103 and set the argument 
     107and sets the argument 
    104108.Ar err . 
    105109.Sh ERRORS 
     
    122126.It Bq Er DW_DLE_MEMORY 
    123127An out of memory condition was encountered during the execution of the 
    124 functions. 
     128function. 
    125129.El 
    126130.Sh EXAMPLES