• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisión9846e5417d7a4dfcf264c22d3f11a8ee5ea1544b (tree)
Tiempo2006-02-25 08:52:04
AutorRandolph Chung <tausq@debi...>
CommiterRandolph Chung

Log Message

2006-02-24 Randolph Chung <tausq@debian.org>

        • hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize

argreg.

        • solib-som.c (som_solib_remove_inferior_hook): Remove unused

function.

Cambiar Resumen

Diferencia incremental

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
1+2006-02-24 Randolph Chung <tausq@debian.org>
2+
3+ * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize
4+ argreg.
5+ * solib-som.c (som_solib_remove_inferior_hook): Remove unused
6+ function.
7+
18 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
29
310 * f-exp.y: Symbol '%' is not used as the modulus operator in
--- a/gdb/hppa-hpux-tdep.c
+++ b/gdb/hppa-hpux-tdep.c
@@ -1659,7 +1659,7 @@ hppa_hpux_push_dummy_code (struct gdbarch *gdbarch, CORE_ADDR sp,
16591659 CORE_ADDR *real_pc, CORE_ADDR *bp_addr)
16601660 {
16611661 CORE_ADDR pc, stubaddr;
1662- int argreg;
1662+ int argreg = 0;
16631663
16641664 pc = read_pc ();
16651665
--- a/gdb/solib-som.c
+++ b/gdb/solib-som.c
@@ -313,50 +313,6 @@ keep_going:
313313 clear_symtab_users ();
314314 }
315315
316-/* This operation removes the "hook" between GDB and the dynamic linker,
317- which causes the dld to notify GDB of shared library events.
318-
319- After this operation completes, the dld will no longer notify GDB of
320- shared library events. To resume notifications, GDB must call
321- som_solib_create_inferior_hook.
322-
323- This operation does not remove any knowledge of shared libraries
324- of which GDB may already have been notified.
325- */
326-static void
327-som_solib_remove_inferior_hook (int pid)
328-{
329- CORE_ADDR addr;
330- struct minimal_symbol *msymbol;
331- int status;
332- char dld_flags_buffer[4];
333- unsigned int dld_flags_value;
334- struct cleanup *old_cleanups = save_inferior_ptid ();
335-
336- /* Ensure that we're really operating on the specified process. */
337- inferior_ptid = pid_to_ptid (pid);
338-
339- /* We won't bother to remove the solib breakpoints from this process.
340-
341- In fact, on PA64 the breakpoint is hard-coded into the dld callback,
342- and thus we're not supposed to remove it.
343-
344- Rather, we'll merely clear the dld_flags bit that enables callbacks.
345- */
346- msymbol = lookup_minimal_symbol ("__dld_flags", NULL, NULL);
347-
348- addr = SYMBOL_VALUE_ADDRESS (msymbol);
349- status = target_read_memory (addr, dld_flags_buffer, 4);
350-
351- dld_flags_value = extract_unsigned_integer (dld_flags_buffer, 4);
352-
353- dld_flags_value &= ~DLD_FLAGS_HOOKVALID;
354- store_unsigned_integer (dld_flags_buffer, 4, dld_flags_value);
355- status = target_write_memory (addr, dld_flags_buffer, 4);
356-
357- do_cleanups (old_cleanups);
358-}
359-
360316 static void
361317 som_special_symbol_handling (void)
362318 {