Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dwarf_add_fde_inst(3) [freebsd man page]

DWARF_ADD_FDE_INST(3)					   BSD Library Functions Manual 				     DWARF_ADD_FDE_INST(3)

NAME
dwarf_add_fde_inst -- add a call frame instruction to a DWARF frame descriptor LIBRARY
DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS
#include <libdwarf.h> Dwarf_P_Fde dwarf_add_fde_inst(Dwarf_P_Fde fde, Dwarf_Small op, Dwarf_Unsigned val1, Dwarf_Unsigned val2, Dwarf_Error *err); DESCRIPTION
Function dwarf_add_fde_inst() adds a call frame instruction to the DWARF frame descriptor referenced by argument fde. Argument fde should reference a frame descriptor allocated using dwarf_new_fde(3). Argument op specifies the operator for the frame instruction. The DWARF standard defines the set of legal values for this argument. Argument val1 specifies the first operand of the frame instruction. Argument val2 specifies the second operand of the frame instruction. If argument err is not NULL, it will be used to store error information in case of an error. RETURN VALUES
On success, function dwarf_add_fde_inst() returns the frame descriptor given in argument fde. In case of an error, function dwarf_add_fde_inst() returns DW_DLV_BADADDR and sets the argument err. ERRORS
Function dwarf_add_fde_inst() can fail with: [DW_DLE_ARGUMENT] Argument fde was NULL. [DW_DLE_FRAME_INSTR_EXEC_ERROR] The frame instruction operator specified in argument op was invalid. [DW_DLE_MEMORY] An out of memory condition was encountered during the execution of the function. SEE ALSO
dwarf(3), dwarf_add_frame_fde(3), dwarf_add_frame_fde_b(3), dwarf_add_frame_cie(3), dwarf_fde_cfa_offset(3), dwarf_new_fde(3) The DWARF Debugging Information Format, Version 4, http://www.dwarfstd.org/. BSD
September 26, 2011 BSD

Check Out this Related Man Page

DWARF_ADD_EXPR_GEN(3)					   BSD Library Functions Manual 				     DWARF_ADD_EXPR_GEN(3)

NAME
dwarf_add_expr_gen -- add an operator to a location expression descriptor LIBRARY
DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS
#include <libdwarf.h> Dwarf_Unsigned dwarf_add_expr_gen(Dwarf_P_Expr expr, Dwarf_Small opcode, Dwarf_Unsigned val1, Dwarf_Unsigned val2, Dwarf_Error *err); DESCRIPTION
Function dwarf_add_expr_gen() adds a location expression operator to the location expression descriptor referenced by argument expr. Argument expr should reference a location expression descriptor allocated using the function dwarf_new_expr(3). Argument opcode specifies the operation code of the location expression operator. Valid values for this argument are those denoted by the DW_OP_* constants defined in <libdwarf.h>. To generate a DW_OP_addr operation, application code should instead use dwarf_add_expr_addr_b(3). Argument val1 specifies the first operand of the location expression operator. Argument val2 specifies the second operand of the location expression operator. If argument err is not NULL, it will be used to store error information in case of an error. RETURN VALUES
On success, function dwarf_add_expr_gen() returns the size in bytes of the location expression byte stream generated. In case of an error, function dwarf_add_expr_gen() returns DW_DLV_NOCOUNT and sets the argument err. ERRORS
Function dwarf_add_expr_gen() can fail with: [DW_DLE_ARGUMENT] Argument expr was NULL. [DW_DLE_LOC_EXPR_BAD] The operation code specified in argument opcode was invalid. [DW_DLE_MEMORY] An out of memory condition was encountered during the execution of the function. SEE ALSO
dwarf(3), dwarf_add_AT_location_expr(3), dwarf_add_expr_addr(3), dwarf_add_expr_addr_b(3), dwarf_expr_current_offset(3), dwarf_expr_into_block(3), dwarf_new_expr(3) BSD
September 9, 2011 BSD
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Function call not return value into var

hi friends, I writing a script, one of the function there is: ################################### ########### Return 1 if has subfolders and 0 otherwise ################## # Get one Argument - Folder name Has_Subfolders() { count=0 cd $1 for zont in `ls -l | grep drw | awk... (1 Reply)
Discussion started by: katzs500
1 Replies

2. UNIX for Advanced & Expert Users

Function call not return value into var

hi friends, I writing a script, one of the function there is: ################################### ########### Return 1 if has subfolders and 0 otherwise ################## # Get one Argument - Folder name Has_Subfolders() { count=0 cd $1 for zont in `ls -l | grep drw | awk... (4 Replies)
Discussion started by: katzs500
4 Replies

3. UNIX for Dummies Questions & Answers

Question?

what will be the output and why?? .$val1=10; val2=25; $ x:=${val1-val2:=35} $ echo $x; (1 Reply)
Discussion started by: skyineyes
1 Replies

4. Shell Programming and Scripting

Substring HELP!

Hi, I am trying to do something which I thought was very simple but still being a beginner, has proved not to be. Input: val1 val2 val3 val4 val5 val6 . . . etc Desired Output: Every row in which value of val6 is a number starting with 0.0 or contains a capital E. The input... (2 Replies)
Discussion started by: awknerd
2 Replies

5. Shell Programming and Scripting

Replace matching nth occurence

Hi for eg my file has: val1 | val2 | val1 | val2 | val1 | val2 | val1 | val2 | here i need to replace '|' with '|\n' where the occurence of '|' is divisble by 2 so that the output comes like this val1 | val2 | val1 | val2 | val1 | val2 | val1 | val2 | Requesting suggestions in... (1 Reply)
Discussion started by: raghav288
1 Replies

6. Shell Programming and Scripting

Getting values in pattern /val1/val2/val3/...

I have a string containing /val1/val2/val3/... and want to get all the fields and determine how many there are, so that I can create the string -k val1n -k val2n -k val3n Example: set str = "/5/6/7" -k 5n -k 6n -k 7n set str = "/7/8/9/23" -k 7n -k 8n -k 9n -k 23n (7 Replies)
Discussion started by: kristinu
7 Replies

7. Shell Programming and Scripting

Text Conversion in Column

Hi all; We have a table: COL1 COL2 COL3 COL4 COL5 COL6 COL7 val1 val2 val3 val4 val5 1 val7 val1 val2 val3 val4 val5 3 val7 val1 val2 val3 val4 val5 5 val7 val1 val2 val3 val4 val5 2 val7 ... As you see, 6th columns are filled with numbers as, 1, 2, 3, 4, etc... and I want to make a... (10 Replies)
Discussion started by: gc_sw
10 Replies

8. UNIX for Beginners Questions & Answers

Script parameter with several values

Hi, On ksh I have to write a script tha I will run like this: ./myscript.ksh -param1 val1 val2 val3 .. -param2 xxx -param3 hgf Param1 will be an array: param1= ( val1 val2 val3 ..... ) How can I do that? It is not a homework!! Thank you. (1 Reply)
Discussion started by: big123456
1 Replies