1 Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
3 * stabsread.c (read_struct_type): Trivial simplification.
5 * stabsread.c (define-symbol): Use invisible references
6 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
7 * valops.c (call_function_by_hand): Likewise.
8 * eval.c (evaluate_subexp_standard): When known, use the formal
9 parameter type as the expected type when evaluating arg expressions.
10 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
12 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
14 * coredep.c: Renamed to core-aout.c
15 * core-svr4.c: Renamed to core-regset.c
16 * Makefile.in (ALLDEPFILES): Account for renamings.
17 * corelow.c (core_file_fns): Add, points to chain of structs.
18 (add_core_fns): New function to build chain of structs.
19 (get_core_registers): Modify to search core functions chain and call
20 appropriate fetch_core_registers function based on core file flavour.
21 * gdbcore.h (fetch_core_registers): Remove declaration.
22 (struct core_fns): Define struct for core function info.
23 * i386m3-nat.c: Update comment for filename change (coredep->core-aout)
24 * a68v-nat.c (fetch_core_registers): Remove stub, not needed now.
25 * alpha-nat.c (fetch_core_registers): Make static.
26 (alpha_core_fns, _initialize_core_alpha): New struct and func.
27 * core-aout.c (fetch_core_registers): Make static
28 (aout_core_fns, _initialize_core_aout): New struct and func.
29 * core-regset.c (fetch_core_registers): Make static.
30 (regset_core_fns, _initialize_core_regset): New struct and func.
31 * core-sol2.c (fetch_core_registers): Make static.
32 (solaris_core_fns, _initialize_core_solaris): New struct and func.
33 * hp300ux-nat.c (fetch_core_registers): Make static.
34 (hp300ux_core_fns, _initialize_core_hp300ux): New struct and func.
35 * i386aix-nat.c (fetch_core_registers): Make static.
36 (i386aix_core_fns, _initialize_core_i386aix): New struct and func.
37 * i386mach-nat.c (fetch_core_registers: Make static.
38 (i386mach_core_fns, _initialize_core_i386mach): New struct and func.
39 * irix4-nat.c (fetch_core_registers): Make static.
40 (irix4_core_fns, _initialize_core_irix4): New struct and func.
41 * irix5-nat.c (fetch_core_registers):
42 (irix5_core_fns, _initialize_core_irix5): New struct and func.
43 * lynx-nat.c (fetch_core_registers): Make static.
44 (lynx_core_fns, _initialize_core_lynx): New struct and func.
45 * mips-nat.c (fetch_core_registers): Make static.
46 (mips_core_fns, _initialize_core_mips): New struct and func.
47 * ns32km3-nat.c (fetch_core_registers): Remove stub.
48 * rs6000-nat.c (fetch_core_registers): Make static.
49 (rs6000_core_fns, _initialize_core_rs6000): New struct and func.
50 * sparc-nat.c (fetch_core_registers): Make static.
51 (sparc_core_fns, _initialize_core_sparc): New struct and func.
52 * sun3-nat.c (fetch_core_registers):
53 (sun3_core_fns, _initialize_core_sun3): New struct and func.
54 * sun386-nat.c (fetch_core_registers): Remove stub.
55 * ultra3-nat.c (fetch_core_registers): Make static.
56 (ultra3_core_fns, _initialize_core_ultra3): New struct and func.
57 * config/gould/pn.mh (XDEPFILES),
58 config/i386/fbsd.mh (NATDEPFILES),
59 config/i386/i386bsd.mh (NATDEPFILES),
60 config/i386/i386m3.mh (XDEPFILES),
61 config/i386/i386sco.mh (NATDEPFILES),
62 config/i386/i386sco4.mh (NATDEPFILES),
63 config/i386/i386v.mh (NATDEPFILES),
64 config/i386/i386v32.mh (NATDEPFILES),
65 config/i386/nbsd.mh (NATDEPFILES),
66 config/i386/ptx.mh (XDEPFILES),
67 config/i386/ptx4.mh (XDEPFILES),
68 config/i386/symmetry.mh (NATDEPFILES),
69 config/m68k/3b1.mh (XDEPFILES),
70 config/m68k/cisco.mt (TDEPFILES),
71 config/m68k/delta68.mh (NATDEPFILES),
72 config/m68k/dpx2.mh (NATDEPFILES),
73 config/m68k/hp300bsd.mh (NATDEPFILES),
74 config/m68k/hp300hpux.mh (NATDEPFILES),
75 config/m68k/isi.mh (XDEPFILES),
76 config/m68k/news.mh (NATDEPFILES),
77 config/m68k/news1000.mh (XDEPFILES),
78 config/m88k/cxux.mh (NATDEPFILES),
79 config/m88k/delta88.mh (NATDEPFILES),
80 config/mips/littlemips.mh (XDEPFILES),
81 config/mips/mipsm3.mh (XDEPFILES),
82 config/ns32k/merlin.mh (XDEPFILES),
83 config/ns32k/nbsd.mh (NATDEPFILES),
84 config/ns32k/ns32km3.mh (NATDEPFILES),
85 config/pa/hppabsd.mh (NATDEPFILES),
86 config/pa/hppahpux.mh (NATDEPFILES),
87 config/romp/rtbsd.mh (XDEPFILES),
88 config/tahoe/tahoe.mh (XDEPFILES),
89 config/vax/vaxbsd.mh (XDEPFILES),
90 config/vax/vaxult.mh (NATDEPFILES),
91 config/vax/vaxult2.mh (NATDEPFILES),
92 Account for coredep.o to core-aout.o name change.
93 * config/i386/i386dgux (NATDEPFILES),
94 config/i386/i386sol2.mh (NATDEPFILES),
95 config/i386/i386v4.mh (NATDEPFILES),
96 config/i386/linux.mh (NATDEPFILES),
97 config/i386/ncr3000.mh (NATDEPFILES),
98 config/m68k/m68kv4.mh (NATDEPFILES),
99 config/m88k/delta88v4.mh (NATDEPFILES),
100 config/mips/mipsv4.mh (NATDEPFILES),
101 Account for core-svr4.o to core-regset.o name change.
103 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
105 * configure.in, configure: Recognize rs6000-*-aix4*.
106 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
107 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
108 * config/rs6000/xm-aix4.h: New file.
109 * config/xm-aix4.h: New file.
111 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@fishpond.amigalib.com>
113 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
114 * gdbserver/low-linux.c: New file.
115 * remote.c (remote_read_bytes): Fix aborts on larger packets.
117 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
119 * stabsread.c (define_symbol): If register value is too large,
120 tell what it is and what max is.
122 Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
124 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
125 enum namespace -> enum_namespace change.
127 Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
129 * ch-exp.c (parse_primval): in case ARRAY: Add missing FORWARD_TOKEN ().
131 Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
133 * remote-mips.c (mips_receive_header): Recognize \012 instead
134 of \n, but write \n when program sends a \012.
135 * ser-mac.c (mac_input_buffer): Increase size of buffer.
137 Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
139 * infptrace.c (initialize_infptrace): Move function out of
140 #ifdef conditional; put code within the function inside an
143 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
144 arguments. Sorting is now dependent on OBJF_REORDERED. All
145 callers/references changed.
146 * dbxread.c (read_ofile_symtab): Correctly determine value for
147 last_source_start_addr for reordered executables.
148 (process_one_symbol): Handle N_FUN with no name as an end of
150 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
151 is the high text address for a psymtab.
152 (case N_SO): Likewise.
153 (case N_FUN): Handle N_FUN with no name as an end of function
155 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
156 at the same address rather than a random subset of them.
157 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
158 * elfread.c (elf_symfile_init): Similarly.
159 * somread.c (som_symfile_init): Similarly.
160 * xcoffread.c (xcoff_symfile_init): Similarly.
162 Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
164 * stack.c (print_stack_frame print_frame_info) symmisc.c
165 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
166 that catch_errors doesn't get blindsided by QUIT and lose the
167 cleanup chain. This fixes a problem where ^C while in a
168 user-defined command sometimes leaves instream NULL and causes a
169 segfault in command_loop.
171 Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
173 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
175 Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
177 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
178 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
179 srec.o renamed to dsrec.o.
181 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
183 * breakpoint.c (remove_breakpoint): Change error to warning so
184 that hardware watchpoint removal problems won't leave breakpoint
187 * configure configure.in: Make --enable-gdbtk be the default.
189 * remote-e7000.c (e7000_insert_breakpoint,
190 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
192 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
193 compensate for e7000 maladjustment.
194 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
195 which prevented hardware watchpoints from working.
197 Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
199 * infptrace.c (udot_info): New function.
200 (PT_*): Define each individually if that one is not defined.
201 * rs6000-nat.c (kernel_u_size): New function
202 Include <sys/user.h> for "struct user"
203 * alpha-nat.c (kernel_u_size): New function.
204 Include <sys/user.h> for "struct user"
205 * sparc-nat.c (kernel_u_size): New function.
206 Include <sys/user.h> for "struct user"
207 * i386b-nat.c (kernel_u_size): New function.
208 * i386v-nat.c (kernel_u_size): New function.
209 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
210 (kernel_u_size): Declare.
211 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
212 (kernel_u_size): Declare.
213 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
214 (kernel_u_size): Declare.
215 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
216 (kernel_u_size): Declare.
217 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
218 (kernel_u_size): Declare.
220 Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
222 * mdebugread.c (mylookup_symbol): enum namespace becomes
224 * symfile.c (add_psymbol_to_list)
225 (add_psymbol_addr_to_list): Ditto.
226 * symtab.c (lookup_partial_symbol): Ditto.
227 (lookup_symbol): Ditto.
228 (lookup_block_symbol): Ditto.
229 * win32-nat.c (handle_load_dll): Use incoming dll base.
230 (child_wait): Catch DLL load errors.
231 (create_child_inferior): Translated between paths correctly.
233 Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
235 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
236 from NUM_REGS to get number of general registers that we care about.
237 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
238 of number of general regs and number of floating point regs.
240 Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
242 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
243 (SKIP_TRAMPOLINE_CODE): New.
244 * config/i386/xm-win32.h (CANT_FORK): Deleted.
245 (SLASH*) Changed to use unix style slash.
246 * symtab.h (namespace enum): becomes typedef to avoid namespace
248 * infcmd.c (path_command): Use empty string if PATH name not set.
249 * i386-tdep.c (skip_trampoline_code): New function.
250 * srec.c: Renamed dsrec.c to avoid filename collision.
251 * Makefile.in: Cope with renaming.
253 Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
255 * symmisc.c (print_objfile_statistics): Print memory use statistics
256 for objfile psymbol, symbol, and type obstacks.
258 Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
260 * config/mips/nm-irix5.h: Restore.
261 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
262 from Lee Iverson <leei@ai.sri.com>.
263 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
264 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
266 For older changes see ChangeLog-95
272 version-control: never