Julian Brown
2b949cb6bb
* gdb/dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
21 years ago
Julian Brown
5b031165ba
* MAINTAINERS (Write After Approval): Add myself.
21 years ago
Michael Snyder
b2d6f210e9
2006-06-08 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
21 years ago
Daniel Jacobowitz
719abd5321
Typo fix.
21 years ago
Nathan Sidwell
6dd0fba671
* m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
(m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
conversion. Use M68K_NUM_REGS for number of regs.
21 years ago
Nathan Sidwell
ad9a8f3f00
* remote-fileio.c (remote_fileio_reset): New.
* remote-fileio.h (remote_fileio_reset): Prototype.
* remote.c (extended_remote_restart, remote_open_1): Call it.
21 years ago
Nathan Sidwell
1dd41f16d1
* gdb/remote.c (remote_open_1): Do preopen tasks before
irreversably destroying state.
21 years ago
Daniel Jacobowitz
ea9c271d4e
* (struct remote_state): New type, only containing
buf and buf_size.
(remote_state): New variable.
(get_remote_state): New function.
(struct remote_arch_state): Renamed from struct remote_state.
Removed buf and buf_size.
(get_remote_arch_state): Renamed from get_remote_state. All
necessary callers updated to call this function.
(init_remote_state): Initialize the architecture-specific state.
Update the target-specific state if necessary.
(get_remote_packet_size): New function. All previous references
changed to use this accessor function.
(packet_reg_from_regnum, packet_reg_from_pnum): Take a
remote_arch_state instead of a remote_state. All callers changed.
(_initialize_remote): Initialize the packet buffer here.
21 years ago
Nathan Sidwell
5cffb35013
* gdb/remote.c (remote_insert_watchpoint): Return -1, rather than
fatal error if packet is disabled.
(remote_remove_watchpoint, remote_insert_hw_breakpoint,
remote_remove_hw_breakpoint): Likewise.
21 years ago
Nick Roberts
8a786d82c7
*** empty log message ***
21 years ago
Michael Snyder
f49e4e6d76
2006-05-31 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c: Comment tweaks.
21 years ago
Daniel Jacobowitz
20e95c23ab
Configury changes: update src repository (binutils, gdb, and rda) to use
config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all
affected autotools files. Include intl in gdb releases again.
21 years ago
Daniel Jacobowitz
9308fc88e7
gdb/
* Makefile.in (arm-linux-nat.o): Update dependencies.
* arm-linux-nat.c: Include "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.
gdb/gdbserver/
* Makefile.in (linux-arm-low.o): Update dependencies.
* linux-arm-low.c: Include "../gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.
21 years ago
Alexandre Oliva
46ea248bcc
* dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
DWARF2_FRAME_REG_SAVED_VAL_EXP.
* dwarf2-frame.c (execute_cfa_program): Handle val_offset,
val_offset_sf and val_expression.
(dwarf2_frame_prev_register): Handle the new reg rules.
(dwarf2_frame_this_id): Use pc instead of function entry point.
21 years ago
Alexandre Oliva
56c987f606
* dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
(dwarf2_frame_sniffer): Use it.
(decode_frame_entry_1): Set it according to augmentation "S".
21 years ago
Joel Brobecker
5648af48fb
From Peter Schauer <peterschauer@gmx.net>
* m2-typeprint.c (m2_record_fields): Move variable declarations
to the begining of the block.
21 years ago
Mark Mitchell
03a73f77ad
* mt-tdep.c (mt_register_name): Correct out-of-range logic to
include additional registers.
* mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
Iscramb2, Qscramb2, Qchannel2.
(mt_register_name): Likewise.
(mt_copro_register_type): Describe ZI2 and ZQ2.
* mt-tdep.c (mt_gdb_regnums): Define
MT_COPRO_PSEUDOREG_MAC_REGNUM.
(mt_register_name): Use it.
(mt_copro_register_type): Likewise.
(mt_register_type): Likewise.
(mt_pseudo_register_read): Likewise. Read the MAC register, not
the coprocessor register.
(mt_pseudo_register_write): Likewise.
21 years ago
Christopher Faylor
2b3c8945cd
* win32-nat.c (cygwin_exceptions): New variable.
(handle_exception): Treat a cygwin exception like a normal exception if
cygwin_exceptions is true.
(_initialize_win32_nat): Add "set cygwin-exceptions" handler.
21 years ago
Gaius Mulley
f79daebb66
NEWS: (Improved Modula-2 language support): New section.
21 years ago
Joel Brobecker
b4e70030cb
* configure: Regenerate using proper version of autoconf.
21 years ago
Fred Fish
a1f5b8454c
Checked in under the 'obvious fix rule'
2006-05-19 Fred Fish <fnf@specifix.com>
* Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
* dwarfread.c: Fix spelling of 'unexpected'.
* mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
* stack.c: Fix spelling of 'RETURN_VALUE'.
21 years ago
Paul Gilliam
82d03102e4
2006-05-18 Paul Gilliam <pgilliam@us.ibm.com
* solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
21 years ago
Daniel Jacobowitz
f2da6b3ac3
* dwarf2-frame.c: Include "value.h".
(read_reg): Use unpack_long and register_type.
* Makefile.in (dwarf2-frame.o): Update.
21 years ago
Daniel Jacobowitz
1f5befc17b
* remote-rdp.c: Deleted.
* NEWS: Mention removal of remote-rdp.c.
* Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
(remote-rdp.o): Delete.
* README: Remove description of remote-rdp.c.
* arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
* config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
21 years ago
Daniel Jacobowitz
cd96dfc915
* ser-e7kpc.c: Include <time.h> if it is available.
21 years ago
Joel Brobecker
e374b60130
* version.in (version.in): Bump version number to 6.5.50 now
that the gdb-6.5 branch has been created.
* NEWS: Create a new section for changes that are included
since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
section.
21 years ago
Jim Blandy
13942a4203
gdb/ChangeLog:
2006-05-16 Jim Blandy <jimb@codesourcery.com>
* MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
the Global Maintainers' invitation to be an authorized committer
for the Modula-2 support.
21 years ago
Mark Kettenis
8599da2d51
* ppcobsd-nat.c: Include "gdb_assert.h".
[PT_GETFPREGS] (getfpregs_supplies): New function.
(ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
versions that have PT_GETFPREGS.
(_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
ppcobsd_fpreg_offsets.
* ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
Declare.
* ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
variables.
(_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
* Makefile.in (ppcobsd-nat.o): Update dependencies.
21 years ago
Daniel Jacobowitz
4e8d927dde
* configure.ac: Use GCC_HEADER_STDINT.
* acinclude.m4: Include stdint.m4.
* Makefile.in (gdb_stdint_h): Define.
(distclean): Remove gdb_stdint.h.
(Makefile, stamp-h): Update rules to generate only the correct
files.
(gdb_stdint.h, stamp-int): New rules.
* config.in, configure: Regenerated.
21 years ago
Daniel Jacobowitz
19ca80ba57
* valprint.c: Include "exceptions.h".
(val_print): If something goes wrong while printing, supply an
error message.
21 years ago
Daniel Jacobowitz
245c7f487f
2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
* source.c (get_current_source_symtab_and_line)
(set_current_source_symtab_and_line): Use { 0 }.
* cli/cli-cmds.c (list_command): Likewise.
21 years ago
Nick Roberts
53b33aeb32
*** empty log message ***
21 years ago
Gaius Mulley
1c547afb78
removed lengthy descriptions about function modifications.
21 years ago
Gaius Mulley
d3d3c7e6d5
tidied up ChangeLog as per GNU Coding Standards.
21 years ago
Gaius Mulley
71ded58471
split up another line in excess of 80 characters
21 years ago
Gaius Mulley
229582b795
tidied up ChangeLogs (80 character line width), added reference
to gaius@glam.ac.uk included into gdb/MAINTAINERS
21 years ago
Gaius Mulley
72019c9cbc
2006-05-13 Gaius Mulley <gaius@glam.ac.uk>
* gdb/m2-lang.h: added function extern prototypes for m2_is_long_set
and get_long_set_bounds.
* gm2/m2-typeprint.c: This file has been completely
replaced to reflect the Modula-2 syntax rather than call the
c_print_type function.
(m2_print_type): walk the Modula-2 type tree.
(m2_type_name): added.
(m2_range): added.
(m2_typedef): added.
(m2_array): added.
(m2_pointer): added.
(m2_ref): added.
(m2_unknown): added.
(m2_union): added.
(m2_procedure): added.
(m2_print_bounds): added.
(m2_short_set): added.
(m2_is_long_set): added.
(m2_get_discrete_bounds): added.
(m2_is_long_set_of_type): added.
(m2_long_set): added.
(m2_record_fields): added.
(m2_enum): added.
* gdb/dwarf2read.c: added ability to detect the language Modula-2
and handle SET and CHAR types.
(read_set_type): added.
(process_die): call read_set_type.
(read_base_type): modifed signed/unsigned char handling for Modula-2.
(set_cu_language): added Modula-2 case clause.
* gdb/m2-valprint.c: complete replacement so that Modula-2 values are
printed rather than call the C language routines.
(print_function_pointer_address): added.
(get_long_set_bounds): added.
(m2_print_long_set): added.
(print_unpacked_pointer): added.
(print_variable_at_address): added.
(m2_val_print): replaced.
21 years ago
Mark Kettenis
def18405fb
* ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove prototypes.
(struct regset): Add forward declaration.
(ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
* ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h",
"regset.h" and "gdb_string.h". Don't include "breakpoint.h",
"value.h", target.h and nbsd-tdep.h". Reorder includes.
(REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
(REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
(FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
Remove macros.
(ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
(ppcnbsd_fill_fpreg): Remove functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
(ppcnbsd_reg_offsets): New variable.
(ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
(ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
introduced in NetBSD 2.0.
(ppcnbsd_sigtramp): Provide complete signal trampoline.
(ppcnbsd2_sigtramp): New variable.
(ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section.
Add ppcnbs2_sigtramp unwinder.
(_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
Initialize ppcnbsd_reg_offsets.
* ppcnbsd-nat.c: Update copyright year. Reorder includes.
(getregs_supplies): Use regnum instead of regno.
(getfpregs_supplies): Likewise.
(ppcnbsd_fetch_inferior_registers): Likewise. Call
ppc_supply_gregset and ppc_suppply_fpregset instead of
ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
(ppcnbsd_store_inferior_registers): Likewise. Call
ppc_collect_gregset and ppc_collect_fpregset instead of
ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
(ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
(_initialize_ppcnbsd_nat): Add some whitespace.
* Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
* config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
(NAT_FILE): Remove.
* config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
21 years ago
Daniel Jacobowitz
c4c50d3740
2006-05-11 Alfred M. Szmidt <ams@gnu.org>
* gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
21 years ago
Fred Fish
576c202544
Reviewed and approved by Jim Blandy <jimb@codesourcery.com>
2006-05-11 Fred Fish <fnf@specifix.com>
* symtab.c (skip_prologue_using_sal): Handle single line functions
like "foo(){}", which may optimize down to a single return inst.
21 years ago
Steve Ellcey
ba906c0813
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
message.
21 years ago
Andreas Schwab
4bf8967cb2
* dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
(execute_cfa_program): Add parameter eh_frame_p. Call
dwarf2_frame_eh_frame_regnum when true.
(dwarf2_frame_cache): Pass eh_frame_p from fde to
execute_cfa_program.
(decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
processing .eh_frame. Copy eh_frame_p to the new fde.
(struct dwarf2_frame_ops): Add eh_frame_regnum.
(dwarf2_frame_set_eh_frame_regnum): Define.
(dwarf2_frame_eh_frame_regnum): Define.
* dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
(dwarf2_frame_eh_frame_regnum): Declare.
21 years ago
David S. Miller
55e969c159
* linux-nat.c (linux_nat_do_thread_registers): Check for
NULL collect_regset method.
21 years ago
Ulrich Weigand
92f38ec2e1
* s390-tdep.c (s390_collect_regset): New function.
(s390_gregset, s390x_gregset, s390_fpregset): Add it.
21 years ago
Nick Roberts
6fed56b401
*** empty log message ***
21 years ago
Ulrich Weigand
6fc191037f
* linux-nat.c (exit_lwp): Fix NULL pointer access.
(linux_nat_handle_extended): New parameter STOPPING.
(wait_lwp): Call it with STOPPING equals 1.
(linux_nat_wait): Call it with STOPPING equals 0.
21 years ago
Ulrich Weigand
d539ed7ecd
* linux-nat.c (linux_nat_wait): Do not short-cut reporting
of 'uninteresting' signals when single-stepping.
21 years ago
Daniel Jacobowitz
49101e1c1a
* MAINTAINERS: Move NEWS to the documentation entry.
21 years ago
David S. Miller
bcc98f888e
* linux-thread-db.c (thread_db_store_registers): Use
regcache_raw_collect.
21 years ago
David S. Miller
4f844a660e
* linux-nat.c (linux_nat_do_thread_registers): Use the
regset_from_core_section infrastructure if the target
supports it.
* Makefile.in: Update dependencies.
21 years ago