Michael Chastain
0bc2134ec9
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* top.c (print_gdb_version): Update year to 2004.
23 years ago
Mark Mitchell
89a72f9c32
* MAINTAINERS: Add myself to the write-after-approval category.
23 years ago
Daniel Jacobowitz
86b013ed0b
From Bernardo Innocenti <bernie@develer.com>:
* configure.tgt: Add uClinux target.
23 years ago
Andrew Cagney
e42c953419
2004-01-02 Andrew Cagney <cagney@redhat.com>
* utils.c (do_my_cleanups): Make static, add forward declaration.
* defs.h (do_my_cleanups): Delete declaration.
23 years ago
Eli Zaretskii
162467d3b4
*** empty log message ***
23 years ago
Mark Kettenis
af1c6d4556
Roll ChangeLog / ChangeLog-2003.
23 years ago
Mark Kettenis
78434e5985
* configure.in: Check for <machine/reg.h>. Check for `struct reg'
in <machine/reg.h>.
* configure, config.in: Regenerate.
23 years ago
Eli Zaretskii
40a7debcab
* configure.in: Check for st_blocks member in struct stat and
define HAVE_STRUCT_STAT_ST_BLOCKS accordingly.
* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): New undef.
* configure, config.in: Regenerated.
23 years ago
Eli Zaretskii
6d53e9818a
Remove entry for reverted change to configure.in.
23 years ago
Eli Zaretskii
1dd727e9e9
* remote-fileio.c (remote_fileio_to_fio_stat)
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
systems that don't have `st_blocks' member in `struct stat'.
* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.
23 years ago
Eli Zaretskii
ccbc3e6f71
* go32-nat.c (go32_sldt, go32_sgdt, go32_sidt, go32_pte): Fix
mismatches between format string and arguments (avoids compiler
warnings).
23 years ago
Eli Zaretskii
228a417ca2
* configure.in: Set ac_cv_search_tgetent to "none required" for
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).
* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.
* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.
23 years ago
Mark Kettenis
8349554deb
* i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
(i386_sol2_init_abi): Initialize TDEP->sigcontext_addr,
TDEP->sc_reg_offset and TDEP->sc_num_regs.
23 years ago
Mark Kettenis
2666fb59a0
* i386-tdep.h (i386_regnum): Add I386_CS_REGNUM and
I386_SS_REGNUM.
23 years ago
Mark Kettenis
3588991722
* dwarf2-frame.c (dwarf2_reg_rule): Add REG_RA and REG_CFA.
(dwarf2_frame_cache): Initialize PC_REGNUM with REG_RA and
SP_REGNUM with REG_CFA. Don't overwrite the initialized register
rule for registers left unspecified by the CFI. Remove the
special handling of PC_REGNUM. Add code to eleminate any REG_RA
rules.
(dwarf2_frame_prev_register): Remove the special handling of
SP_REGNUM. Add support for the REG_CFA rule.
23 years ago
Mark Kettenis
6745701255
* i386obsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h".
(i386obsd_r_reg_offset): New variable.
(i386obsd_aout_supply_regset)
(i386obsd_aout_regset_from_core_section): New functions.
(i386obsd_supply_reg, fetch_core_registers): Remove functions.
(i286obsd_core_fns): Remove variable.
(i386obsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Set
regset_from_core_section. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(_initialize_i386obsd_tdep): Don't call add_core_fns.
23 years ago
Mark Kettenis
f6943e4a1d
* i386bsd-tdep.c (i386bsd_core_osabi_sniffer): New function.
(_initialize_i386bsd_tdep): Register i386bsd_core_osabi_sniffer.
23 years ago
Mark Kettenis
4ffc84662b
* i386-linux-nat.c: Add comment.
23 years ago
Christopher Faylor
d6dc804979
* win32-nat.c: Add some comments about below change.
23 years ago
Christopher Faylor
3ade53336e
Fix for PR threads/1048
* win32-nat.c (thread_info_struct): Add reload_context flag.
(thread_rec): Don't reload thread context here. Just set a flag.
(do_child_fetch_inferior_registers): Reload thread context here if appropriate.
Avoid doing anything if current_thread is NULL thanks to strange Windows
behavior.
(child_fetch_inferior_registers): Avoid doing anything if current_thread is
NULL.
(do_child_store_inferior_registers): Ditto.
(child_store_inferior_registers): Ditto.
(child_kill_inferior): Ditto.
(fake_create_process): Pretend to create a process for pathological windows
attach situation.
(get_child_debug_event): Call fake_create_process when the first event noticed
is thread creation rather than process creation.
(child_attach): Always set attach_flag when attaching.
(child_create_inferior): Set attach_flag to zero since we're not attaching.
23 years ago
Christopher Faylor
87a45c9606
* win32-nat.c (get_child_debug_event): Keep main thread id around even after
thread exits since Windows insists on continuing to report events against it.
23 years ago
Mark Kettenis
79c4cb80ee
* dwarf2-frame.c (dwarf2_frame_cache): Don't skip the return
address column.
23 years ago
Jim Blandy
6c50ab1c7f
* breakpoint.c (bpstat_do_actions): To ensure that
clear_proceed_status doesn't free the command tree we're
evaluating out from under us, zero the bpstat's pointer to it, and
take care of freeing it ourselves.
* cli/cli-script.c (make_cleanup_free_command_lines): Make this
function externally visible.
* cli/cli-script.h (make_cleanup_free_command_lines): New
declaration.
23 years ago
Mark Kettenis
59207364ed
* x86-64-tdep.c (x86_64_dwarf_regmap): Map the Return Address to
RIP.
23 years ago
Michael Chastain
a2379359b4
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
point type to floatformat_ia64_quad_big.
23 years ago
Kevin Buettner
d40fcd7bc1
* frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
from mips-tdep.c.
(frv_analyze_prologue): Rework to account for intermixed prologue /
body instructions.
23 years ago
Michael Chastain
8e8b2dbaae
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128.
Document type sizes for hppa*-*-hpux* compilers available to me.
23 years ago
Michael Chastain
e584bbaf70
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* hppam3-nat.c: Delete obsolete file.
* hppab-nat.c: Delete obsolete file.
* Makefile.in: Remove references.
23 years ago
Jeff Johnston
bffe1ece0e
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
23 years ago
Jeff Johnston
68219205a7
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
23 years ago
Joel Brobecker
b639a77072
* irix5-nat.c: Include mips-tdep.h.
23 years ago
Mark Kettenis
729b7ed750
* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
(SOLIB_HAVE_UNLOAD_EVENT): Remove defines.
23 years ago
Mark Kettenis
c683153733
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
Needed to fix PR backtrace/1476.
23 years ago
David Carlton
5d09de9d6b
2003-12-16 David Carlton <carlton@kealia.com>
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
(method_name_from_physname): Ditto.
23 years ago
Mark Kettenis
6a9756ed29
* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
(XM_CLIBS): Remove.
(NATDEPFILES): Remove core-regset.o and corelow.o.
* config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
23 years ago
Mark Kettenis
e34e1a8519
* proc-api.c (procfs_note): Add format string to fprintf call.
23 years ago
Mark Kettenis
5daa5b4ecc
* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
for `subl' and `xorl' instructions.
23 years ago
Jim Blandy
27bfe10e37
* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
to strcmp and strncmp.
23 years ago
Jim Blandy
e481341f06
* osabi.c (gdbarch_init_osabi): Reformat error message with better
line breaks.
23 years ago
Mark Kettenis
f614e9d90b
* blockframe.c (inside_main_func): Reformat. Introduce new local
variables to prevent long lines. Update comments to reflect
reality.
23 years ago
Kevin Buettner
503ff15d38
From David Mosberger <davidm@hpl.hp.com>:
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
with a single unw_dyn_info_t pointer.
(libunwind_find_dyn_list): Likewise.
* libunwind-frame.h: Likewise.
* ia64-tdep.c (ia64_find_unwind_table): Switch to using
UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
entire unwind-table at once. Support for this table format has
been added to libunwind v0.95.
(ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
(ia64_get_dyn_info_list): Adjust for interface change for
libunwind_find_dyn_list().
23 years ago
Jeff Johnston
468d015dea
2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
23 years ago
Mark Kettenis
f82de61cdc
* observer.c (observer_test_first_observer)
(observer_test_second_observer, observer_test_third_observer):
Don't define as `static'.
(observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Likewise.
23 years ago
Mark Kettenis
9db7c108d9
* solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
of (0).
23 years ago
Dhananjay Deshpande
8bfdb6721b
* MAINTAINERS (write after approval): Add myself
23 years ago
Dhananjay Deshpande
454d05118b
Fix GDB crash problem when object file of different H8 cpu is loaded
23 years ago
Joel Brobecker
7ae4c3a566
* frame.c (select_frame): Get the current frame PC using
get_frame_address_in_block() instead of get_frame_pc().
* stack.c (get_frame_language): Likewise.
23 years ago
Kevin Buettner
9b74d5d385
* remote.c (remote_open_1, remote_cisco_open): Avoid closing
remote_desc more than once.
23 years ago
Andrew Cagney
e7ebf6d61f
2003-12-07 Andrew Cagney <cagney@redhat.com>
* defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
directly calling strcmp equivalents. Add disclaimer.
23 years ago
Andrew Cagney
8ccc128739
2003-12-06 Andrew Cagney <cagney@redhat.com>
* remote.c (remote_fetch_registers): For short packets, explicitly
supply a zero value. Use regcache_raw_supply. Fix suggested by
Jonathan Larmour.
23 years ago