[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #6577] Free ddb symbols
From: |
Andrei Barbu |
Subject: |
[patch #6577] Free ddb symbols |
Date: |
Fri, 18 Jul 2008 17:12:55 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008052213 (Gentoo) Firefox/3.0 |
URL:
<http://savannah.gnu.org/patch/?6577>
Summary: Free ddb symbols
Project: The GNU Hurd
Submitted by: abarbu
Submitted on: Friday 07/18/2008 at 17:12
Category: GNU Mach
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
Wiki-like text discussion box:
_______________________________________________________
Details:
Symbols need to be freed for ELF; this adds the free_symbol entry to
db_sym_switch, as well as frees symbols where they're used. This is a nop for
anything but ELF, so at the moment it does nothing.
2008-07-18 Andrei Barbu <andrei@0xab.com>
* ddb/db_sym.c (db_lookup, db_value_of_name, db_name_is_ambiguous)
(db_search_task_symbol, db_task_printsym, x_db): Free symbols
* ddb/db_sym.c (dummy_db_free_symbol): New symbol freeing nop function
* ddb/db_sym.h: Header guards, added free_sybmbol to the ddb backend API
* ddb/db_sym.h (db_find_sym_and_offset, db_find_xtrn_sym_and_offset)
(db_find_task_sym_and_offset, db_find_xtrn_task_sym_and_offset):
* i386/i386/db_trace.c (db_i386_stack_trace): Free symbols
* kern/lock_mon.c (print_lock_info): Free symbols
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 07/18/2008 at 17:12 Name: ddb-symbol-free-patch Size: 7kB
By: abarbu
<http://savannah.gnu.org/patch/download.php?file_id=16142>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?6577>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #6577] Free ddb symbols,
Andrei Barbu <=