Types table size and format in the .gcc_exception_table

2013-01-04 Thread alam_shahid
As part of my research I am updating the .gcc_exception_table of a binary 64 
bit elf file. For small C++ programs that throw exceptions it works OK, but for 
large benchmark programs it's not working. My question is does GCC stores more 
than one table inside the .gcc_exception_table section of the elf file. If it 
does what's the exact format of these tables. I have some knowledge of the 
action table, action records and types table. I am not clear about the size of 
the types table.

I am parsing the tables in this section but is not able to know the exact size 
and format of the types tables, where a pointer to the exception information is 
stored. I need to update this pointer to the new updated location.

Any help is appreciated.
Thanks,
-- Shahid
___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb


Re: warnings with cvs texinfo version

2013-01-04 Thread Patrice Dumas
Hello,

Here is an additional patch that takes care of a new warning:
./gdb.texinfo:31: warning: @syncodeindex leads to a merging of fn in itself, 
ignoring

It simply comments out the line 
  @syncodeindex fn fn
which is a bit weird.

On Wed, Jun 20, 2012 at 10:37:53PM +0200, Patrice Dumas wrote:
> Hello,
> 
> The following warnings remain when using the cvs makeinfo version.  It
> is unclear to me how to solve these, but hipefully, you should be able
> to fix them, or bear with warnings:
> 
> ./gdb.texinfo:22939: warning: @table has text but no @item

These warnings are still there, but now to do what you wanted to do 
with that construct, that is an indented environment without 
anything else special, we added @indentedblock (and @smallindentedblock), 
so I think that you could use that instead of an empty table.

> ./gdb.texinfo:35330: warning: @item missing argument

This warning is also still present.  Here you can use, for example 
@w{} but it will still be a rather dubious construct. 

The other warnings have been removed.

-- 
Pat
Index: gdb/doc/gdb.texinfo
===
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.1039
diff -u -3 -p -r1.1039 gdb.texinfo
--- gdb/doc/gdb.texinfo 2 Jan 2013 15:00:34 -   1.1039
+++ gdb/doc/gdb.texinfo 5 Jan 2013 01:42:19 -
@@ -28,7 +28,7 @@
 @c readline appendices use @vindex, @findex and @ftable,
 @c annotate.texi and gdbmi use @findex.
 @syncodeindex vr fn
-@syncodeindex fn fn
+@c @syncodeindex fn fn
 
 @c !!set GDB manual's edition---not the same as GDB version!
 @c This is updated by GNU Press.
___
bug-gdb mailing list
bug-gdb@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gdb